]> git.dujemihanovic.xyz Git - linux.git/commit
drm/xe/guc: Fix arguments passed to relay G2H handlers
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Fri, 19 Apr 2024 15:03:51 +0000 (17:03 +0200)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 24 Apr 2024 15:20:00 +0000 (10:20 -0500)
commite3e989522ac9a6b7960c75b762e1e9568717b31e
tree26ba27fb3e47a61f618828dc85df10767eb312bf
parentf38c4d224aa37fce1e3fe05db4377ef888f0737f
drm/xe/guc: Fix arguments passed to relay G2H handlers

By default CT code was passing just payload of the G2H event
message, while Relay code expects full G2H message including
HXG header which contains DATA0 field. Fix that.

Fixes: 26d4481ac23f ("drm/xe/guc: Start handling GuC Relay event messages")
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Piotr PiĆ³rkowski <piotr.piorkowski@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240419150351.358-1-michal.wajdeczko@intel.com
(cherry picked from commit 48c64d495fbef343c59598a793d583dfd199d389)
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_guc_ct.c