]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/display: move device_remove over to drmm
authorMatthew Auld <matthew.auld@intel.com>
Wed, 22 May 2024 10:22:01 +0000 (11:22 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Wed, 22 May 2024 12:22:40 +0000 (13:22 +0100)
commitdc51c682ddb0104851c8ccbe1d644163ae38262b
tree047bc2a13d64d27b05ca970c744415cd22acaebf
parent48d74a0a45201de4efa016fb2f556889db37ed28
drm/xe/display: move device_remove over to drmm

i915 display calls this when releasing the drm_device, match this also
in xe by using drmm. intel_display_device_remove() is freeing purely
software state for the drm_device.

v2: fix build error

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Andrzej Hajda <andrzej.hajda@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240522102143.128069-36-matthew.auld@intel.com
drivers/gpu/drm/xe/display/xe_display.c
drivers/gpu/drm/xe/display/xe_display.h
drivers/gpu/drm/xe/xe_pci.c