]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/{i915, xe}/bo: move display bo calls to parent interface
authorJani Nikula <jani.nikula@intel.com>
Wed, 11 Mar 2026 14:18:16 +0000 (16:18 +0200)
committerJani Nikula <jani.nikula@intel.com>
Mon, 16 Mar 2026 09:00:21 +0000 (11:00 +0200)
commit37a6ed2c284b594470e5512df3528abb50b9815e
treebad3e066721493b1741a31f123f5af4bd8ae3b10
parent49464bb6977aa87e3edda2f5d011fbaafc5e1cf3
drm/{i915, xe}/bo: move display bo calls to parent interface

Continue i915 and xe separation from display by moving the bo calls to
the display parent interface. Instead of adding all these functions to
intel_parent.[ch], reuse the now vacated intel_bo.[ch], and avoid mass
renames to calls of these functions. This is similar to
intel_display_rpm.[ch].

Make many of the hooks optional to avoid having to implement dummy
functions in xe. Indeed now we can remove many of the existing dummy
functions.

Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://patch.msgid.link/7899eef2ccf0cd603df69099df065226a0df917b.1773238670.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/display/intel_bo.c [new file with mode: 0644]
drivers/gpu/drm/i915/i915_bo.c
drivers/gpu/drm/i915/i915_bo.h [new file with mode: 0644]
drivers/gpu/drm/i915/i915_driver.c
drivers/gpu/drm/xe/Makefile
drivers/gpu/drm/xe/display/xe_display.c
drivers/gpu/drm/xe/display/xe_display_bo.c
drivers/gpu/drm/xe/display/xe_display_bo.h [new file with mode: 0644]
include/drm/intel/display_parent_interface.h