drm/xe/guc: Use valid scratch register for posting read
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 16 Nov 2023 15:12:42 +0000 (16:12 +0100)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:44:39 +0000 (11:44 -0500)
commitcac74742faea603b288592be118b4f100ed2c863
tree27a3dd6982637ef79f4036f3e1b742a2183453ba
parent1d087cb7d81f9a17760154eef5ac8b894428cdbe
drm/xe/guc: Use valid scratch register for posting read

There are only 4 scratch registers VF_SW_FLAG(0..3) on each GuC.
We shouldn't use non-existing register VF_SW_FLAG(4) for posting
read.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_guc.c