]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Report Proper Quantization Range in AVI Infoframe
authorDillon Varone <dillon.varone@amd.com>
Fri, 9 Apr 2021 15:27:49 +0000 (11:27 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Apr 2021 01:42:38 +0000 (21:42 -0400)
commite153a1c061661573efac34af559c471d6c33daf7
treec8b9fe930efb98cbe22916889738c61eee98c9e6
parent0c3deb6fe4cf06de69e9dbb0b17625f26c6b570f
drm/amd/display: Report Proper Quantization Range in AVI Infoframe

[Why?]
When a monitor does not set both QS and QY bits, DC does not
set Q0, Q1, QY0 and QY1 bits in AVI infoframe. Setting RGB bits
should be separate from setting YCC bits.

[How?]
Separate logic for setting RGB and YCC quantization range bits
in the AVI infoframe.

Signed-off-by: Dillon Varone <dillon.varone@amd.com>
Reviewed-by: Chris Park <Chris.Park@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c