linux/drivers/gpu/drm/amd
Alex Deucher 232cc6520a 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:
cd404af0c9

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2015-10-14 16:16:30 -04:00
..
amdgpu drm/amdgpu/dce11: Clean up reference counting and pinning of the cursor BOs 2015-10-14 16:16:30 -04:00
amdkfd amdkfd: use <linux/mman.h> instead of <uapi/asm-generic/mman-common.h> 2015-08-30 12:36:58 +03:00
include drm/amdgpu: Add Fiji smu 7.1.3 headers (v2) 2015-08-17 16:50:25 -04:00
scheduler drm/amdgpu: more scheduler cleanups v2 2015-09-23 17:23:39 -04:00