mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-27 03:49:57 -04:00
drm/amd/display: add color space option when sending link test pattern
[why] In the TEST_MSIC dpcd register field definition, the test equipment has the option to choose between YCbCr601 or YCbCr709. We will apply corresponding YCbCr coefficient based on this test request. [how] Add a new input parameter in dc_link_dp_set_test_pattern to allow the selection between different color space. Signed-off-by: Wenjing Liu <Wenjing.Liu@amd.com> Reviewed-by: Nikola Cornij <Nikola.Cornij@amd.com> Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
d9e32672a1
commit
2057b7e1cf
@@ -123,6 +123,13 @@ enum dp_test_pattern {
|
||||
DP_TEST_PATTERN_UNSUPPORTED
|
||||
};
|
||||
|
||||
enum dp_test_pattern_color_space {
|
||||
DP_TEST_PATTERN_COLOR_SPACE_RGB,
|
||||
DP_TEST_PATTERN_COLOR_SPACE_YCBCR601,
|
||||
DP_TEST_PATTERN_COLOR_SPACE_YCBCR709,
|
||||
DP_TEST_PATTERN_COLOR_SPACE_UNDEFINED
|
||||
};
|
||||
|
||||
enum dp_panel_mode {
|
||||
/* not required */
|
||||
DP_PANEL_MODE_DEFAULT,
|
||||
|
||||
Reference in New Issue
Block a user