[PATCH i-g-t 2/2] lib/kms: Reset color encoding to BT.709
Ville Syrjala
ville.syrjala at linux.intel.com
Fri Jun 4 16:31:41 UTC 2021
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
igt_fb uses BT.709 as the default color encoding for YCbCr.
Switch igt_plane_reset() to use the same as the reset value.
Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
lib/igt_kms.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index ebe608377be6..a9de7d460bba 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -1944,7 +1944,7 @@ static void igt_plane_reset(igt_plane_t *plane)
if (igt_plane_has_prop(plane, IGT_PLANE_COLOR_ENCODING))
igt_plane_set_prop_enum(plane, IGT_PLANE_COLOR_ENCODING,
- igt_color_encoding_to_str(IGT_COLOR_YCBCR_BT601));
+ igt_color_encoding_to_str(IGT_COLOR_YCBCR_BT709));
if (igt_plane_has_prop(plane, IGT_PLANE_COLOR_RANGE))
igt_plane_set_prop_enum(plane, IGT_PLANE_COLOR_RANGE,
--
2.26.3
More information about the Intel-gfx-trybot
mailing list