summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMatt Roper <matthew.d.roper@intel.com>2025-10-13 13:09:44 -0700
committerMatt Roper <matthew.d.roper@intel.com>2025-10-14 07:44:57 -0700
commit2816905e1403ccc2ff9db12b5bbc89d11187c942 (patch)
treeaee5e0e4b635ff538a46e066e16a48b2fba96de9 /tools/perf/scripts/python/stackcollapse.py
parent89e347f8a70165d1e8d88a93d875da7742c902ce (diff)
downloadlinux-2816905e1403ccc2ff9db12b5bbc89d11187c942.tar.gz
linux-2816905e1403ccc2ff9db12b5bbc89d11187c942.zip
drm/xe/huc: Adjust HuC check on primary GT
The HuC initialization code determines whether a platform can have a HuC on the primary GT by checking whether tile->media_gt is NULL; old Xe1 platforms that combined render+media into a single GT will always have a NULL media_gt pointer. However once we allow media to be disabled via configfs, there will also be cases where tile->media_gt is NULL on more modern platforms, causing this condition to behave incorrectly. To handle cases where media gets disabled via configfs (or theoretical cases where media is truly fused off in hardware), change the condition to consider the graphics version of the primary GT; only the old Xe1 platforms with graphics versions 12.55 or earlier should try to initialize a HuC on the primary GT. Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Reviewed-by: Tejas Upadhyay <tejas.upadhyay@intel.com> Link: https://lore.kernel.org/r/20251013200944.2499947-26-matthew.d.roper@intel.com Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions