drm/amd/display: use rgb full range as default quantization for non HDMI
authorWenjing Liu <Wenjing.Liu@amd.com>
Wed, 30 Nov 2016 22:57:24 +0000 (17:57 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:04:00 +0000 (17:04 -0400)
commitb007045674723f649e8a9cf0504dc987a141160d
treece0ae88768d2cb4bc4d78611a03730b2010b1820
parent85944914f1de9b12fb2867f8dd835835f08861a2
drm/amd/display: use rgb full range as default quantization for non HDMI

Refactor the quantization decision to color module.
Add the check if non HDMI, default quantization should be rgb full range.

Signed-off-by: Wenjing Liu <Wenjing.Liu@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/color/color.c
drivers/gpu/drm/amd/display/modules/inc/mod_color.h