]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: add kdev_to_xe_device() helper and use it
authorJani Nikula <jani.nikula@intel.com>
Mon, 12 Aug 2024 10:30:21 +0000 (13:30 +0300)
committerJani Nikula <jani.nikula@intel.com>
Tue, 13 Aug 2024 09:11:49 +0000 (12:11 +0300)
commitd408d6f8cbbb5ad92b383f33d091f027f5740aea
tree1276c20b2198ee1f57d230206afde7124028c6e3
parentec0796e6446352e9e4ecb1804bf470d1ca47c5f9
drm/xe: add kdev_to_xe_device() helper and use it

There are enough users for kernel device to xe device conversion, add a
helper for it.

Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/38c80846e70c7e410850530426384e17cff9d031.1723458544.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/xe/xe_device.h
drivers/gpu/drm/xe/xe_gsc_proxy.c