Skip to content
Snippets Groups Projects
Commit b26de02c authored by Maciej Patelczyk's avatar Maciej Patelczyk Committed by Thomas Hellström
Browse files

drm/xe: make change ccs_mode a synchronous action


If ccs_mode is being modified via
   /sys/class/drm/cardX/device/tileY/gtY/ccs_mode
the asynchronous reset is triggered and the write returns immediately.

With that some test receive false information about number of CCS engines
or even fail if they proceed without delay after changing the ccs_mode.

Changing the ccs_mode change from async to sync to prevent failures in
tests.

Signed-off-by: default avatarMaciej Patelczyk <maciej.patelczyk@intel.com>
Reviewed-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
Fixes: f3bc5bb4 ("drm/xe: Allow userspace to configure CCS mode")
Reviewed-by: default avatarNirmoy Das <nirmoy.das@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241211111727.1481476-3-maciej.patelczyk@intel.com


Signed-off-by: default avatarNirmoy Das <nirmoy.das@intel.com>
(cherry picked from commit 480fb980)
Signed-off-by: default avatarThomas Hellström <thomas.hellstrom@linux.intel.com>
parent 5db89168
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment