aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorDmitry Baryshkov <[email protected]>2023-04-09 04:13:29 +0300
committerRob Clark <[email protected]>2023-06-10 07:18:05 -0700
commit736a9327365644b460e4498b1ce172ca411efcbc (patch)
treee18644a15be337ef20b6075860959450cfaaf0a2 /tools/perf/scripts/python/compaction-times.py
parentbf08e9791ca4e598f7088f24189dc3ef802b2a9f (diff)
drm/msm/a5xx: really check for A510 in a5xx_gpu_init
The commit 010c8bbad2cb ("drm: msm: adreno: Disable preemption on Adreno 510") added special handling for a510 (this SKU doesn't seem to support preemption, so the driver should clamp nr_rings to 1). However the gpu->revn is not yet set (it is set later, in adreno_gpu_init()) and thus the condition is always false. Check config->rev instead. Fixes: 010c8bbad2cb ("drm: msm: adreno: Disable preemption on Adreno 510") Reported-by: Adam Skladowski <[email protected]> Signed-off-by: Dmitry Baryshkov <[email protected]> Tested-by: Adam Skladowski <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/531511/ Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions