]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/{i915, xe}: pass struct drm_device instead of drm_device to ->alloc_obj
authorJani Nikula <jani.nikula@intel.com>
Mon, 15 Dec 2025 15:28:28 +0000 (17:28 +0200)
committerJani Nikula <jani.nikula@intel.com>
Mon, 22 Dec 2025 13:09:23 +0000 (15:09 +0200)
commit82eaf3459dbf92ea78243150508740c007e0eea7
tree1c507fba2148ea44cd207ffaa6a8e7805e1c7521
parent5bad00377ec844d93947fd4c081abd2000a63dfc
drm/{i915, xe}: pass struct drm_device instead of drm_device to ->alloc_obj

The initial plane parent interface ->alloc_obj hook no longer needs the
crtc for anything. Pass struct drm_device instead.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/7a40381be6d98dc0916a5447be5dd6cba86cfd0a.1765812266.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_initial_plane.c
drivers/gpu/drm/i915/i915_initial_plane.c
drivers/gpu/drm/xe/display/xe_initial_plane.c
include/drm/intel/display_parent_interface.h