aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2015-07-07 07:27:28 +0000
committerAlex Deucher <[email protected]>2015-07-09 15:39:40 +0000
commitcd404af0c930104462aa91344f07d002cf8248ed (patch)
tree4533bf578cb256a85eea3ddd414d3203857072a5 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentdrm/radeon: fix underflow in r600_cp_dispatch_texture() (diff)
downloadkernel-cd404af0c930104462aa91344f07d002cf8248ed.tar.gz
kernel-cd404af0c930104462aa91344f07d002cf8248ed.zip
drm/radeon: 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 radeon_crtc_cursor_set2, and use radeon_crtc->cursor_addr in radeon_set_cursor. This fixes radeon_cursor_reset accidentally incrementing the cursor BO pin count, and cleans up the code a little. Cc: [email protected] Reviewed-by: Grigori Goronzy <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Michel Dänzer <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions