drm/xe/guc: Add support for workaround KLVs
authorBadal Nilawar <badal.nilawar@intel.com>
Fri, 5 Apr 2024 08:42:30 +0000 (14:12 +0530)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 9 Apr 2024 10:54:02 +0000 (12:54 +0200)
commitd6da81a4785ca6e2f0ea9082424e725e8aad69b4
tree01a609491bcaf6591b383ad89b28d013118b5cbb
parent1db3594c595f4eb24e5a34be2912a2dc0586d4b1
drm/xe/guc: Add support for workaround KLVs

To prevent running out of bits, new workaround (w/a) enable flags are
being added via a KLV system instead of a 32 bit flags word.

v2: GuC version check > 70.10 is not needed as base line xe doesnot
    support anything below < 70.19
v3: Use 64 bit ggtt address for future
    compatibility (John Harrison/Daniele)
v4: %s/PAGE_SIZE/SZ_4K/ (Michal)

Cc: John Harrison <John.C.Harrison@intel.com>
Signed-off-by: Badal Nilawar <badal.nilawar@intel.com>
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240405084231.3620848-2-badal.nilawar@intel.com
drivers/gpu/drm/xe/xe_guc_ads.c
drivers/gpu/drm/xe/xe_guc_ads_types.h
drivers/gpu/drm/xe/xe_guc_fwif.h