[PATCH 0/5] Workaround fixes, improvements, additions
Tvrtko Ursulin
tvrtko.ursulin at igalia.com
Wed Jan 29 15:56:22 UTC 2025
A few things here.
0001:
I think per engine GT workarounds are broken. None apply since engines are not
set up yet.
0002-003:
I did a small audit of i915 vs xe workarounds and tunings with focus on ADL-P
and found some deltas. But without access to the internal database and even
up to date PRMs it is required if someone double checks the two.
Motivation being that there is some interest to make xe work on ADL-P as good as
possible.
0004:
With the split between workarounds and tunings it feels useful to expose the
list of latter in debugfs too.
0005:
Sadly there is still a mix of runtime vs static workarounds/tunings (so not
everything can be listed in debufs in a nice forma), some of
which look unavoidable such as MOCS and bits in
xe_hw_engine_setup_default_lrc_state.
But I thought on general it would be good to move everything that doesn't need
to be on those smaller sprinkled around lists to the central ones in
xe_workarounds.c/xe_tuning.c. It consolidates and adds visibility in debugfs.
Although again, it is still not perfect and maybe I missed some other reason
those I moved were where they were.
Cc: Lucas De Marchi <lucas.demarchi at intel.com>
Cc: Matt Roper <matthew.d.roper at intel.com>
Tvrtko Ursulin (5):
drm/xe: Fix GT workaround handling
drm/xe/gen12: Add Wa_1604555607
drm/xe/gen12: L3 recommended hashing mask
drm/xe: Add performance tunings to debugfs
drm/xe: Move a couple static workarounds/tunings to the static list
drivers/gpu/drm/xe/regs/xe_gt_regs.h | 3 ++
drivers/gpu/drm/xe/xe_gt.c | 10 ++--
drivers/gpu/drm/xe/xe_gt_debugfs.c | 11 ++++
drivers/gpu/drm/xe/xe_gt_types.h | 10 ++++
drivers/gpu/drm/xe/xe_hw_engine.c | 22 --------
drivers/gpu/drm/xe/xe_tuning.c | 81 ++++++++++++++++++++++++++--
drivers/gpu/drm/xe/xe_tuning.h | 3 ++
drivers/gpu/drm/xe/xe_wa.c | 16 ++++++
8 files changed, 128 insertions(+), 28 deletions(-)
--
2.48.0
More information about the Intel-xe
mailing list