diff options
author | Josip Pavic <[email protected]> | 2020-02-21 12:26:19 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2020-03-05 09:42:08 -0500 |
commit | a0275dfc82c9034eefbeffd556cca6dd239d7925 (patch) | |
tree | 477a19cac18edb21a909431e10c1b327737b7bf6 /tools/perf/util/trace-event-scripting.c | |
parent | 5ac7fd2f597b88ee81f4748ee50cab06192a8dc3 (diff) |
drm/amd/display: fix dcc swath size calculations on dcn1
[Why]
Swath sizes are being calculated incorrectly. The horizontal swath size
should be the product of block height, viewport width, and bytes per
element, but the calculation uses viewport height instead of width. The
vertical swath size is similarly incorrectly calculated. The effect of
this is that we report the wrong DCC caps.
[How]
Use viewport width in the horizontal swath size calculation and viewport
height in the vertical swath size calculation.
Signed-off-by: Josip Pavic <[email protected]>
Reviewed-by: Aric Cyr <[email protected]>
Acked-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions