]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Apply Wa_16023105232
authorVinay Belgaumkar <vinay.belgaumkar@intel.com>
Thu, 20 Mar 2025 17:51:23 +0000 (10:51 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Thu, 20 Mar 2025 22:59:03 +0000 (15:59 -0700)
commit7c53ff050ba88bb37eed3e17f2bb8ec592d83302
treeefb04b8dce17175a67193e340604d2ad90f8c276
parentb96dabdba9b95f71ded50a1c094ee244408b2a8e
drm/xe: Apply Wa_16023105232

The WA requires KMD to disable DOP clock gating during a semaphore
wait and also ensure that idle delay for every CS is lower than the
idle wait time in the PWRCTX_MAXCNT register. Default values for these
registers already comply with this restriction.

v2: Store timestamp_base in gt info and other comments (Daniele)
v3: Skip WA check for VF
v4: Review comments (Matt Roper)
v5: Cleanup the clock functions and use reg_field_get (Matt Roper)
v6: Fix checkpatch issue
v7: Fix CI issue

Cc: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250320175123.3026754-1-vinay.belgaumkar@intel.com
drivers/gpu/drm/xe/regs/xe_engine_regs.h
drivers/gpu/drm/xe/xe_gt_clock.c
drivers/gpu/drm/xe/xe_gt_types.h
drivers/gpu/drm/xe/xe_hw_engine.c
drivers/gpu/drm/xe/xe_wa.c
drivers/gpu/drm/xe/xe_wa_oob.rules