summaryrefslogtreecommitdiff
path: root/io_uring/sqpoll.c
diff options
context:
space:
mode:
authorAlvin Lee <alvin.lee2@amd.com>2024-06-13 16:10:16 -0400
committerAlex Deucher <alexander.deucher@amd.com>2024-06-27 17:10:37 -0400
commite1e75cf7334c0e31f4c37d715b964784d45685fa (patch)
tree6300e259ea700c3c1ad56e3b8de3f6d2ab818d14 /io_uring/sqpoll.c
parente1f4805bcc6b39e1c249777c237e419705266234 (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 <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 'io_uring/sqpoll.c')
0 files changed, 0 insertions, 0 deletions