sna/video: Actually use the NV12 shader on gen8
PATCH 1/1 sna/video: Actually use the NV12 shader on gen8
From: Ville Syrjälä <[email protected]>
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ä <[email protected]>
--- src/sna/gen8_render.c | 3 +++ 1 file changed, 3 insertions(+)
src/sna/gen8_render.c +3 -0
@@ -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 ;
Signature · 6 lines
2.13.6 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoting Ville Syrjala (2018-02-14 20:27:06)
Quoted 7 lines
From: Ville Syrjälä <[email protected]>
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ä <[email protected]>
Not much of an excuse to say I tested on skl. Thanks, -Chris
_______________________________________________
Intel-gfx mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx