Commit 71f7256e authored by Charlene Liu's avatar Charlene Liu Committed by Alex Deucher

drm/amd/display: remove CV-specific timing standard

Signed-off-by: default avatarCharlene Liu <charlene.liu@amd.com>
Reviewed-by: default avatarJordan Lazare <Jordan.Lazare@amd.com>
Reviewed-by: default avatarTony Cheng <Tony.Cheng@amd.com>
Acked-by: default avatarHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 3efeef11
...@@ -66,11 +66,6 @@ void color_space_to_black_color( ...@@ -66,11 +66,6 @@ void color_space_to_black_color(
} }
switch (colorspace) { switch (colorspace) {
case COLOR_SPACE_YPBPR601:
*black_color = black_color_format[BLACK_COLOR_FORMAT_YUV_TV];
break;
case COLOR_SPACE_YPBPR709:
case COLOR_SPACE_YCBCR601: case COLOR_SPACE_YCBCR601:
case COLOR_SPACE_YCBCR709: case COLOR_SPACE_YCBCR709:
case COLOR_SPACE_YCBCR601_LIMITED: case COLOR_SPACE_YCBCR601_LIMITED:
......
...@@ -435,8 +435,6 @@ enum dc_color_space { ...@@ -435,8 +435,6 @@ enum dc_color_space {
COLOR_SPACE_UNKNOWN, COLOR_SPACE_UNKNOWN,
COLOR_SPACE_SRGB, COLOR_SPACE_SRGB,
COLOR_SPACE_SRGB_LIMITED, COLOR_SPACE_SRGB_LIMITED,
COLOR_SPACE_YPBPR601,
COLOR_SPACE_YPBPR709,
COLOR_SPACE_YCBCR601, COLOR_SPACE_YCBCR601,
COLOR_SPACE_YCBCR709, COLOR_SPACE_YCBCR709,
COLOR_SPACE_YCBCR601_LIMITED, COLOR_SPACE_YCBCR601_LIMITED,
......
...@@ -827,14 +827,12 @@ static bool configure_graphics_mode( ...@@ -827,14 +827,12 @@ static bool configure_graphics_mode(
OUTPUT_CSC_GRPH_MODE, 1); OUTPUT_CSC_GRPH_MODE, 1);
break; break;
case COLOR_SPACE_YCBCR601: case COLOR_SPACE_YCBCR601:
case COLOR_SPACE_YPBPR601:
case COLOR_SPACE_YCBCR601_LIMITED: case COLOR_SPACE_YCBCR601_LIMITED:
/* YCbCr601 */ /* YCbCr601 */
REG_SET(OUTPUT_CSC_CONTROL, 0, REG_SET(OUTPUT_CSC_CONTROL, 0,
OUTPUT_CSC_GRPH_MODE, 2); OUTPUT_CSC_GRPH_MODE, 2);
break; break;
case COLOR_SPACE_YCBCR709: case COLOR_SPACE_YCBCR709:
case COLOR_SPACE_YPBPR709:
case COLOR_SPACE_YCBCR709_LIMITED: case COLOR_SPACE_YCBCR709_LIMITED:
/* YCbCr709 */ /* YCbCr709 */
REG_SET(OUTPUT_CSC_CONTROL, 0, REG_SET(OUTPUT_CSC_CONTROL, 0,
...@@ -858,14 +856,12 @@ static bool configure_graphics_mode( ...@@ -858,14 +856,12 @@ static bool configure_graphics_mode(
OUTPUT_CSC_GRPH_MODE, 1); OUTPUT_CSC_GRPH_MODE, 1);
break; break;
case COLOR_SPACE_YCBCR601: case COLOR_SPACE_YCBCR601:
case COLOR_SPACE_YPBPR601:
case COLOR_SPACE_YCBCR601_LIMITED: case COLOR_SPACE_YCBCR601_LIMITED:
/* YCbCr601 */ /* YCbCr601 */
REG_SET(OUTPUT_CSC_CONTROL, 0, REG_SET(OUTPUT_CSC_CONTROL, 0,
OUTPUT_CSC_GRPH_MODE, 2); OUTPUT_CSC_GRPH_MODE, 2);
break; break;
case COLOR_SPACE_YCBCR709: case COLOR_SPACE_YCBCR709:
case COLOR_SPACE_YPBPR709:
case COLOR_SPACE_YCBCR709_LIMITED: case COLOR_SPACE_YCBCR709_LIMITED:
/* YCbCr709 */ /* YCbCr709 */
REG_SET(OUTPUT_CSC_CONTROL, 0, REG_SET(OUTPUT_CSC_CONTROL, 0,
......
...@@ -383,8 +383,6 @@ static bool configure_graphics_mode_v( ...@@ -383,8 +383,6 @@ static bool configure_graphics_mode_v(
/* not supported for underlay on CZ */ /* not supported for underlay on CZ */
return false; return false;
case COLOR_SPACE_YCBCR601:
case COLOR_SPACE_YPBPR601:
case COLOR_SPACE_YCBCR601_LIMITED: case COLOR_SPACE_YCBCR601_LIMITED:
/* YCbCr601 */ /* YCbCr601 */
set_reg_field_value( set_reg_field_value(
...@@ -394,7 +392,6 @@ static bool configure_graphics_mode_v( ...@@ -394,7 +392,6 @@ static bool configure_graphics_mode_v(
OUTPUT_CSC_MODE); OUTPUT_CSC_MODE);
break; break;
case COLOR_SPACE_YCBCR709: case COLOR_SPACE_YCBCR709:
case COLOR_SPACE_YPBPR709:
case COLOR_SPACE_YCBCR709_LIMITED: case COLOR_SPACE_YCBCR709_LIMITED:
/* YCbCr709 */ /* YCbCr709 */
set_reg_field_value( set_reg_field_value(
...@@ -421,7 +418,6 @@ static bool configure_graphics_mode_v( ...@@ -421,7 +418,6 @@ static bool configure_graphics_mode_v(
/* not supported for underlay on CZ */ /* not supported for underlay on CZ */
return false; return false;
case COLOR_SPACE_YCBCR601: case COLOR_SPACE_YCBCR601:
case COLOR_SPACE_YPBPR601:
case COLOR_SPACE_YCBCR601_LIMITED: case COLOR_SPACE_YCBCR601_LIMITED:
/* YCbCr601 */ /* YCbCr601 */
set_reg_field_value( set_reg_field_value(
...@@ -431,7 +427,6 @@ static bool configure_graphics_mode_v( ...@@ -431,7 +427,6 @@ static bool configure_graphics_mode_v(
OUTPUT_CSC_MODE); OUTPUT_CSC_MODE);
break; break;
case COLOR_SPACE_YCBCR709: case COLOR_SPACE_YCBCR709:
case COLOR_SPACE_YPBPR709:
case COLOR_SPACE_YCBCR709_LIMITED: case COLOR_SPACE_YCBCR709_LIMITED:
/* YCbCr709 */ /* YCbCr709 */
set_reg_field_value( set_reg_field_value(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment