]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/ct: fix xa_store() error checking
authorMatthew Auld <matthew.auld@intel.com>
Tue, 1 Oct 2024 08:43:48 +0000 (09:43 +0100)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 8 Oct 2024 23:06:10 +0000 (18:06 -0500)
commite863781abe4fe430406dd075ca0cab99165b4e63
treeac6e00f4c9ed3366f7813ce4db308e4c1df38c80
parentdb7f92af626178ba59dbbcdd5dee9ec24a987a88
drm/xe/ct: fix xa_store() error checking

Looks like we are meant to use xa_err() to extract the error encoded in
the ptr.

Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Badal Nilawar <badal.nilawar@intel.com>
Cc: <stable@vger.kernel.org> # v6.8+
Reviewed-by: Badal Nilawar <badal.nilawar@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241001084346.98516-6-matthew.auld@intel.com
(cherry picked from commit 1aa4b7864707886fa40d959483591f3d3937fa28)
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_guc_ct.c