drm/amd/display: Add enum for H-timing divider mode
authorQingqing Zhuo <qingqing.zhuo@amd.com>
Tue, 23 Jul 2019 16:24:24 +0000 (12:24 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Aug 2019 15:56:34 +0000 (10:56 -0500)
commit1ba0a5802fba04f2b0680ae12f478d9be93517d6
tree4b2e581462e5b3f0db7ce170da35337ed748c753
parente40837afb9b011757e17e9f71d97853ca574bcff
drm/amd/display: Add enum for H-timing divider mode

Add h_timing_div_mode enum to better reflect possible register
values. Replace previously programmed values with enum

Signed-off-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c
drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h