[Intel-gfx] [PATCH xf86-video-intel 3/4] sna/video/textured: Enable textured Xv wih depth 30

Ville Syrjala ville.syrjala at linux.intel.com
Mon Oct 22 13:59:28 UTC 2018


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

Texured Xv works just fine with depth 30. Allow it.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 src/sna/sna_video_textured.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sna/sna_video_textured.c b/src/sna/sna_video_textured.c
index a784fe2ec0f4..dd38d4d4e3e7 100644
--- a/src/sna/sna_video_textured.c
+++ b/src/sna/sna_video_textured.c
@@ -39,7 +39,7 @@
 static Atom xvBrightness, xvContrast, xvSyncToVblank, xvColorspace;
 
 static XvFormatRec Formats[] = {
-	{15}, {16}, {24}
+	{15}, {16}, {24}, {30}
 };
 
 static const XvAttributeRec Attributes[] = {
-- 
2.18.1



More information about the Intel-gfx mailing list