[Intel-gfx] [PATCH] Revert "drm/i915: mark all device info struct with __initconst"

Chris Wilson chris at chris-wilson.co.uk
Mon Jan 29 09:00:41 UTC 2018


Quoting Lionel Landwerlin (2018-01-29 08:33:46)
> This reverts commit 5b54eddd3920e9f6f1a6d972454baf350cbae77e.
> 
>  Conflicts:
>         drivers/gpu/drm/i915/i915_pci.c
> 
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104805
> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>

Mea culpa, completely didn't realise post-module init loading was a
thing.
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>

It's still on the low hanging fruit list for reducing our bloat. Ideas?
i915_pcidata.ko? How far could we go with that, make all gen specific
code a separate section and unload them after init?
-Chris


More information about the Intel-gfx mailing list