OSDN Git Service

drm/amd/display: Remove acrtc->stream
authorAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Thu, 29 Jun 2017 16:03:59 +0000 (12:03 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:08:37 +0000 (18:08 -0400)
commitda5c47f682abe61eb81291cb663b77828fda0688
treeb10aab91f87340452667a167d3def2833b9efacc
parent89a1fc5924cc7c315117be79878f2a6d2d69b576
drm/amd/display: Remove acrtc->stream

Remove acrtc->stream and move it into dm_crtc_state.
This allows to get rid of dm_atomic_state->dm_set.
Also reuse streams created in atomic_check during
commit.

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.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.h
drivers/gpu/drm/amd/display/dc/dc.h