]> www.infradead.org Git - users/hch/configfs.git/commit
drm/xe: Allow const pointer when checking SR-IOV mode
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Mon, 17 Jun 2024 12:26:13 +0000 (14:26 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 18 Jun 2024 08:51:59 +0000 (10:51 +0200)
commit0e6745de6dfc1395ce1bbde1e3f9b0a12fba5a1b
treeafc7b24cab9d453f2aada2262c6ef81cbb26f973
parent731e46c032281601756f08cfa7d8505fe41166a9
drm/xe: Allow const pointer when checking SR-IOV mode

It seems that more and more parts of the driver code rely on
having only a const pointer to the xe_device. Allow to check
SR-IOV mode in that code as well.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240617122613.553-1-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_sriov.h