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>
Fri, 1 Nov 2024 13:23:26 +0000 (06:23 -0700)
commitcbe006a6492c01a0058912ae15d473f4c149896c
treec918b29142b7b22ad4186c504cd4ba4090d303ef
parent1c35f1ed1fe3c649f8c16214d0d3dd828b5265d9
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>
drivers/gpu/drm/xe/xe_device.h
drivers/gpu/drm/xe/xe_guc_ct.c