amdgpu/dc: convert dc_gamma to kref reference counting.
authorDave Airlie <airlied@redhat.com>
Tue, 3 Oct 2017 02:38:58 +0000 (12:38 +1000)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 6 Oct 2017 17:09:10 +0000 (13:09 -0400)
commit5c58ab0bd61b5c8538721f4200475c0af0e33efe
tree32c4f16006f9293005dfc63c16ce8d39d411e575
parent93052132568aedb5eda04deae51d6034738a4800
amdgpu/dc: convert dc_gamma to kref reference counting.

Rolling your own reference counting is frowned upon.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_surface.c
drivers/gpu/drm/amd/display/dc/dc_hw_types.h