]> www.infradead.org Git - users/hch/misc.git/commit
drm/xe: introduce xe_gt_reset and xe_gt_wait_for_reset
authorMaciej Patelczyk <maciej.patelczyk@intel.com>
Wed, 11 Dec 2024 11:17:26 +0000 (12:17 +0100)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Wed, 15 Jan 2025 10:32:50 +0000 (11:32 +0100)
commit5db89168c408871d306e9fb669e494a1444da8ee
tree04e75bb464e5f9678fd556e487ba06f634bb1630
parent64192bb2e52d48cfccd8373b0ad565bb9ce3d2e6
drm/xe: introduce xe_gt_reset and xe_gt_wait_for_reset

Add synchronous version gt reset as there are few places where it
is expected.
Also add a wait helper to wait until gt reset is done.

Signed-off-by: Maciej Patelczyk <maciej.patelczyk@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Fixes: f3bc5bb4d53d ("drm/xe: Allow userspace to configure CCS mode")
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241211111727.1481476-2-maciej.patelczyk@intel.com
Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
(cherry picked from commit 155c77f45f63dd58a37eeb0896b0b140ab785836)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
drivers/gpu/drm/xe/tests/xe_bo.c
drivers/gpu/drm/xe/tests/xe_mocs.c
drivers/gpu/drm/xe/xe_gt.h
drivers/gpu/drm/xe/xe_gt_debugfs.c