aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2015-10-08 15:28:49 +0000
committerAlex Deucher <[email protected]>2015-10-14 20:16:30 +0000
commit232cc6520a6c84a3e5acd075605ddc1bca6bd157 (patch)
treeb8e1bff54fda39e8a91af7e0cdca33a3080db9f6 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentdrm/amdgpu/dce11: Move hotspot handling out of set_cursor (diff)
downloadkernel-232cc6520a6c84a3e5acd075605ddc1bca6bd157.tar.gz
kernel-232cc6520a6c84a3e5acd075605ddc1bca6bd157.zip
drm/amdgpu/dce11: Clean up reference counting and pinning of the cursor BOs
Take a GEM reference for and pin the new cursor BO, unpin and drop the GEM reference for the old cursor BO in dce11 crtc_cursor_set2, and use amdgpu_crtc->cursor_addr in dce11 set_cursor. This fixes dce11 cursor_reset accidentally incrementing the cursor BO pin count, and cleans up the code a little. Port of radeon commit: cd404af0c930104462aa91344f07d002cf8248ed Reviewed-by: Michel Dänzer <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions