]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe: stop including intel_display_{core, device}.h from xe_device_types.h
authorJani Nikula <jani.nikula@intel.com>
Thu, 22 May 2025 09:48:44 +0000 (12:48 +0300)
committerJani Nikula <jani.nikula@intel.com>
Tue, 27 May 2025 08:25:53 +0000 (11:25 +0300)
commite6ba431676d522ddc5f4301c0b5fb9f4741433c2
tree10d4dcf01086c8ba2ae47f50aea1e41aeb9a4e2f
parent62384da2a04d7a61d840ad099fc9d0d065b31208
drm/xe: stop including intel_display_{core, device}.h from xe_device_types.h

Make xe->display pointer opaque to most of core xe driver. A few places
now need explicit include of intel_display_core.h.

With this dependency broken, changes in display should cause radically
less recompilation of xe.

Acked-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
Link: https://lore.kernel.org/r/a12918f4d404e2d6d4e963126ce96df01d5064f3.1747907216.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/xe/display/intel_fbdev_fb.c
drivers/gpu/drm/xe/display/xe_display.c
drivers/gpu/drm/xe/display/xe_display_rpm.c
drivers/gpu/drm/xe/display/xe_display_wa.c
drivers/gpu/drm/xe/display/xe_fb_pin.c
drivers/gpu/drm/xe/display/xe_plane_initial.c
drivers/gpu/drm/xe/display/xe_tdf.c
drivers/gpu/drm/xe/xe_device_types.h