Commit ea108ae5 authored by Tomita Moeko's avatar Tomita Moeko Committed by Greg Kroah-Hartman
Browse files

UPSTREAM: Revert "drm/xe/tests/mocs: Update xe_force_wake_get() return handling"



This reverts commit 95a75ed2.

The reverted commit updated the handling of xe_force_wake_get to match
the new "return refcounted domain mask" semantics introduced in commit
a7ddcea1 ("drm/xe: Error handling in xe_force_wake_get()"). However,
that API change only exists in 6.13 and later.

In 6.12 stable kernel, xe_force_wake_get still returns a status code.
The update incorrectly treats the return value as a mask, causing the
return value of 0 to be misinterpreted as an error.

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Cc: Nirmoy Das <nirmoy.das@intel.com>
Cc: Badal Nilawar <badal.nilawar@intel.com>
Acked-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Change-Id: I3e06fd0f9731667f66305baaf45fb07a23188c8b
Signed-off-by: default avatarTomita Moeko <tomitamoeko@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 5a276d34)
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 0d987e7f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment