]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/rtp: Pass xe_device parameter to FUNC matches
authorMatt Roper <matthew.d.roper@intel.com>
Mon, 13 Oct 2025 20:09:59 +0000 (13:09 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 14 Oct 2025 14:45:17 +0000 (07:45 -0700)
commit794e735cb6d52713b382d87a8c14678e15d3e7f8
tree606a25373c64fcaab7986348c8ce72d9b235ee04
parent78de8f87668334a3bfadad52e5142fc19dad1807
drm/xe/rtp: Pass xe_device parameter to FUNC matches

FUNC matches in RTP only pass the GT and hwe, preventing them from being
used effectively in device workarounds.  Add an additional xe_device
parameter so that we can use them in device workarounds where a GT may
not be available.

Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://lore.kernel.org/r/20251013200944.2499947-41-matthew.d.roper@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
drivers/gpu/drm/xe/tests/xe_rtp_test.c
drivers/gpu/drm/xe/xe_hw_engine.c
drivers/gpu/drm/xe/xe_reg_whitelist.c
drivers/gpu/drm/xe/xe_rtp.c
drivers/gpu/drm/xe/xe_rtp.h
drivers/gpu/drm/xe/xe_rtp_types.h