Home
last modified time | relevance | path

Searched hist:"232 cc6520a6c84a3e5acd075605ddc1bca6bd157" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/gpu/drm/amd/amdgpu/
H A Ddce_v11_0.cdiff 232cc6520a6c84a3e5acd075605ddc1bca6bd157 Thu Oct 08 17:28:49 CEST 2015 Alex Deucher <alexander.deucher@amd.com> 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 <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>