diff options
| author | Alvin Lee <[email protected]> | 2024-06-13 16:10:16 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-06-27 17:10:37 -0400 |
| commit | e1e75cf7334c0e31f4c37d715b964784d45685fa (patch) | |
| tree | 6300e259ea700c3c1ad56e3b8de3f6d2ab818d14 /tools/perf/scripts/python/bin | |
| parent | e1f4805bcc6b39e1c249777c237e419705266234 (diff) | |
drm/amd/display: Program CURSOR_DST_X_OFFSET in viewport space
[WHAT & HOW]
According to register specifications, the CURSOR_DST_X_OFFSET
is relative to the start of the data viewport, not RECOUT space.
In this case we must transform the cursor coordinates passed to
hubp401_cursor_set_position into viewport space to program this
register. This fixes an underflow issue that occurs in scaled
mode with low refresh rate.
Reviewed-by: Nevenko Stupar <[email protected]>
Cc: Mario Limonciello <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: [email protected]
Signed-off-by: Alex Hung <[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/bin')
0 files changed, 0 insertions, 0 deletions