]> www.infradead.org Git - nvme.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)
committerNirmoy Das <nirmoy.das@intel.com>
Mon, 13 Jan 2025 09:44:43 +0000 (10:44 +0100)
commit155c77f45f63dd58a37eeb0896b0b140ab785836
tree078e9ebf10d03c118b26b78f0cb5b270133de4d3
parent6a04bb5a2046067681257d5dd69a724856c8fbcb
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>
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