diff options
| author | Alvin Lee <[email protected]> | 2024-07-03 11:36:34 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-07-23 17:07:12 -0400 |
| commit | 4e8eac98046446d99cbbed740f0767204b839f3f (patch) | |
| tree | 229cf81f9b68199d5cbc95b1f81e6aa5731f3d11 /tools/perf/scripts/python/netdev-times.py | |
| parent | 39d496d4721ba509647a70041f38d82b03c74680 (diff) | |
drm/amd/display: Calculate ODM width using odm slice rect, not recout
[Description]
There are scenarios where ODM4:1 is used but the
surface is entirely outside of the first and last
ODM slice. In this case the recout.width for the
first and last slice is 0 because there's no overlap
with the surface and that ODM slice, but this causes
the x_pos for the cursor in this scenario to be
calculated incorrectly. Instead we should use the
ODM slice width instead of the recout width.
Reviewed-by: Nevenko Stupar <[email protected]>
Signed-off-by: Jerry Zuo <[email protected]>
Signed-off-by: Alvin Lee <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions