drm/amd/display: Clean dm_plane_state hooks.
authorAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Tue, 25 Jul 2017 22:11:18 +0000 (18:11 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:08:48 +0000 (18:08 -0400)
commit3d21a662500fdcc2760ec7d936692bb9efa06c67
tree5cb7cf7bcb78a994d2cdd87aec6986322a9ad958
parentadef2ce36e6ad76888159ea6225da54019d0ff0e
drm/amd/display: Clean dm_plane_state hooks.

New surface is created in check only, in duplicate we just
reference exsisting surface and in destroy we release it.

Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c