mirror of
https://github.com/torvalds/linux.git
synced 2026-12-02 11:34:58 +00:00
LNCF registers report wrong values when XE_FORCEWAKE_GT only is held. Holding XE_FORCEWAKE_ALL ensures correct operations on LNCF regs. V2(Himal): - Use xe_force_wake_ref_has_domain Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/1999 Fixes:a6a4ea6d7d("drm/xe: Add mocs kunit") Reviewed-by: Himal Prasad Ghimiray <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Tejas Upadhyay <[email protected]> (cherry picked from commit70a2585e58) Signed-off-by: Lucas De Marchi <[email protected]>