summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorGeorge Shen <george.shen@amd.com>2022-11-01 23:03:03 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-11-15 13:35:14 -0500
commit57b014f664b46deafcd4f4d408416aae6c7e16b9 (patch)
tree5b9342321462103b4f917ec2d5db3c5bd4d44e6a /tools/perf/scripts/python/export-to-postgresql.py
parent7dcc3fcf017dc9e64492bd6348ef51d233cee6f0 (diff)
drm/amd/display: Fix calculation for cursor CAB allocation
[Why] The cursor size (in memory) is currently incorrectly calculated, resulting not enough CAB being allocated for static screen cursor in MALL refresh. This results in cursor image corruption. [How] Use cursor pitch instead of cursor width when calculating cursor size. Update num cache lines calculation to use the result of the cursor size calculation instead of manually recalculating again. Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com> Acked-by: Tom Chung <chiahsuan.chung@amd.com> Signed-off-by: George Shen <george.shen@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions