drm/amd/display: Refactor dc_state creation into a function.
authorLeo (Sunpeng) Li <sunpeng.li@amd.com>
Thu, 7 Sep 2017 20:46:34 +0000 (16:46 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:16:47 +0000 (18:16 -0400)
commit81c90ec0348002b6f6b0c108e3e60e666cb4b673
treed99fa886d181a48c58a649f43785e5b8a6afcf58
parent1dc904974eb7deef924650adc5af542878ce2040
drm/amd/display: Refactor dc_state creation into a function.

For less repetition and easy debugging.

Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@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/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/dc.h