aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJosé Roberto de Souza <[email protected]>2021-05-24 14:48:03 -0700
committerJosé Roberto de Souza <[email protected]>2021-05-25 10:30:26 -0700
commitb554065cb6fc665bf0dac61cc6e79c73c4e4e21e (patch)
tree3aa4c84ce9326ec18dbb8c41359e814a7037dd32 /tools/perf/scripts/python/exported-sql-viewer.py
parent8c80332d6735a39f87bb1362c54fa6ede5a844d3 (diff)
drm/i915: WA for zero memory channel
Commit c457d9cf256e ("drm/i915: Make sure we have enough memory bandwidth on ICL") assumes that we always have a non-zero dram_info->channels and uses it as a divisor. We need num memory channels to be at least 1 for sane bw limits checking, even when PCode returns 0 or there is a error reading it, so lets force it to 1 in this case. Cc: Stanislav Lisovskiy <[email protected]> Cc: Rodrigo Vivi <[email protected]> Cc: Ville Syrjälä <[email protected]> Signed-off-by: Daniele Ceraolo Spurio <[email protected]> Signed-off-by: Lucas De Marchi <[email protected]> Signed-off-by: José Roberto de Souza <[email protected]> Reviewed-by: Clint Taylor <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions