aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h
diff options
context:
space:
mode:
authorSamson Tam <Samson.Tam@amd.com>2019-12-04 18:35:15 -0500
committerAlex Deucher <alexander.deucher@amd.com>2019-12-18 16:09:10 -0500
commit64267454273ac8203aa3f4c0a9ca71193884e862 (patch)
tree775a717320c10ba7e30adb6b776061127bcfb087 /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h
parentdrm/amd/display: Formula refactor for calculating DPP CLK DTO (diff)
downloadwireguard-linux-64267454273ac8203aa3f4c0a9ca71193884e862.tar.xz
wireguard-linux-64267454273ac8203aa3f4c0a9ca71193884e862.zip
drm/amd/display: fix missing cursor on some rotated SLS displays
[Why] Cursor disappears for some SLS displays that are rotated 180 and 270 degrees. This occurs when there is no pipe split being done ( ex. 3 or more displays ). The cursor calculations assume pipe splitting is done so when it calculates the new cursor position in hwss.set_cursor_position(), it is out-of-bounds so it disables the cursor in hubp.set_cursor_position(). [How] In non pipe split cases, calculate cursor using viewport size ( width or height ) instead of viewport size * 2 ( the two because pipe splitting divides the rectangle into two ). Signed-off-by: Samson Tam <Samson.Tam@amd.com> Reviewed-by: Jun Lei <Jun.Lei@amd.com> Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h')
0 files changed, 0 insertions, 0 deletions