Skip to content
Commit 480fb980 authored by Maciej Patelczyk's avatar Maciej Patelczyk Committed by Nirmoy Das
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>
parent 155c77f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment