]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Revert "drm/xe/devcoredump: Update handling of xe_force_wake_get return"
authorTomita Moeko <tomitamoeko@gmail.com>
Tue, 29 Jul 2025 11:05:24 +0000 (19:05 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Aug 2025 08:48:47 +0000 (09:48 +0100)
commitffbedb4ad9846f16c999bf88cadedb15c4596f92
treeb591e1027e21026d9d433e23afa6ff53da4b6a9b
parent5a276d341c8e867e6c4669aa6db0c5fdaaf59b1c
Revert "drm/xe/devcoredump: Update handling of xe_force_wake_get return"

This reverts commit 9ffd6ec2de08ef4ac5f17f6131d1db57613493f9.

The reverted commit updated the handling of xe_force_wake_get to match
the new "return refcounted domain mask" semantics introduced in commit
a7ddcea1f5ac ("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: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Tomita Moeko <tomitamoeko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/xe/xe_devcoredump.c