Files
linux/drivers/gpu/drm
Daniel Vetter 708b7df348 drm/i915: Extract i915_module.c
The module init code is somewhat misplaced in i915_pci.c, since it
needs to pull in init/exit functions from every part of the driver and
pollutes the include list a lot.

Extract an i915_module.c file which pulls all the bits together, and
allows us to massively trim the include list of i915_pci.c.

The downside is that have to drop the error path check Jason added to
catch when we set up the pci driver too early. I think that risk is
acceptable for this pretty nice include.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Cc: Jason Ekstrand <jason@jlekstrand.net>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210727121037.2041102-11-daniel.vetter@ffwll.ch
2021-07-28 17:20:05 +02:00
..
2021-05-06 11:43:46 +02:00
2021-04-27 13:13:19 +02:00
2021-07-28 17:20:05 +02:00
2021-04-13 23:15:09 +02:00
2021-04-13 23:15:09 +02:00
2021-04-29 18:53:05 -03:00
2021-04-13 23:15:09 +02:00
2021-01-04 12:59:33 +01:00
2021-05-17 21:19:48 +02:00
2021-03-18 14:22:50 +01:00