]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/{i915,xe}/panic: move framebuffer allocation where it belongs
authorJani Nikula <jani.nikula@intel.com>
Tue, 2 Sep 2025 17:51:52 +0000 (20:51 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 8 Sep 2025 11:23:46 +0000 (14:23 +0300)
commit729c5f7ffa83391b44939efc26b7ea34a08aea74
treee3a51f675356a9c19f1c06c4efafbb45ee269d38
parentfa48f6335af9b063303d9e9a036514bbdc774d5b
drm/{i915,xe}/panic: move framebuffer allocation where it belongs

The struct intel_framebuffer allocation naturally belongs in intel_fb.c,
not hidden inside panic implementation. Separate the panic
allocation. Drop the unnecessary struct i915_framebuffer and struct
xe_framebuffer types.

Cc: Jocelyn Falempe <jfalempe@redhat.com>
Cc: Maarten Lankhorst <dev@lankhorst.se>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://lore.kernel.org/r/d29f63e0118d002fc8edd368caea7e8185418e17.1756835342.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_fb.c
drivers/gpu/drm/i915/display/intel_panic.c
drivers/gpu/drm/i915/display/intel_panic.h
drivers/gpu/drm/i915/gem/i915_gem_object.h
drivers/gpu/drm/i915/gem/i915_gem_pages.c
drivers/gpu/drm/xe/display/xe_panic.c