linux-stable/drivers/gpu
Alex Deucher 72b400675a drm/amdgpu/dce8: 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 dce8 crtc_cursor_set2, and use
amdgpu_crtc->cursor_addr in dce8 set_cursor.

This fixes dce8 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:34 -04:00
..
drm drm/amdgpu/dce8: Clean up reference counting and pinning of the cursor BOs 2015-10-14 16:16:34 -04:00
host1x gpu: host1x: mipi: Power down regulators when unused 2015-08-13 13:47:21 +02:00
ipu-v3 gpu/drm: Kill off set_irq_flags usage 2015-09-16 16:53:38 +02:00
vga vga_switcheroo: Set active attribute to false for audio clients 2015-09-24 20:14:25 +02:00
Makefile