[PATCH xf86-video-intel] sna/video: Actually use the NV12 shader on gen8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>

Oops. We never actually select the NV12 shader on gen8, causing
us to render garbage. Looks like this is the only one I somehow
missed.

Signed-off-by: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
---
 src/sna/gen8_render.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/sna/gen8_render.c b/src/sna/gen8_render.c
index f7a797b37c56..46369d6b1193 100644
--- a/src/sna/gen8_render.c
+++ b/src/sna/gen8_render.c
@@ -3798,6 +3798,9 @@ static unsigned select_video_kernel(const struct sna_video_frame *frame)
 	case FOURCC_XVMC:
 		return GEN8_WM_KERNEL_VIDEO_PLANAR;
 
+	case FOURCC_NV12:
+		return GEN8_WM_KERNEL_VIDEO_NV12;
+
 	case FOURCC_RGB888:
 	case FOURCC_RGB565:
 		return GEN8_WM_KERNEL_VIDEO_RGB;
-- 
2.13.6

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux