summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAlvin Lee <alvin.lee2@amd.com>2024-06-13 23:10:16 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-06-28 00:10:37 +0300
commite1e75cf7334c0e31f4c37d715b964784d45685fa (patch)
tree6300e259ea700c3c1ad56e3b8de3f6d2ab818d14 /tools/perf/scripts/python/export-to-sqlite.py
parente1f4805bcc6b39e1c249777c237e419705266234 (diff)
downloadlinux-e1e75cf7334c0e31f4c37d715b964784d45685fa.tar.xz
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 <nevenko.stupar@amd.com> Cc: Mario Limonciello <mario.limonciello@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org Signed-off-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Alvin Lee <alvin.lee2@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-sqlite.py')
0 files changed, 0 insertions, 0 deletions