]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Move LNL scheduling WA to xe_device.h
authorNirmoy Das <nirmoy.das@intel.com>
Tue, 29 Oct 2024 12:01:15 +0000 (13:01 +0100)
committerLucas De Marchi <lucas.demarchi@intel.com>
Mon, 4 Nov 2024 16:12:30 +0000 (08:12 -0800)
commit55e8a3f37e54eb1c7b914d6d5565a37282ec1978
tree2fe7a110682e11a8346039e408fd4a7b65f56739
parent4b468a92ddb2985da66823910a1643349fe6447d
drm/xe: Move LNL scheduling WA to xe_device.h

Move LNL scheduling WA to xe_device.h so this can be used in other
places without needing keep the same comment about removal of this WA
in the future. The WA, which flushes work or workqueues, is now wrapped
in macros and can be reused wherever needed.

Cc: Badal Nilawar <badal.nilawar@intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
cc: stable@vger.kernel.org # v6.11+
Suggested-by: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241029120117.449694-1-nirmoy.das@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
(cherry picked from commit cbe006a6492c01a0058912ae15d473f4c149896c)
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_device.h
drivers/gpu/drm/xe/xe_guc_ct.c