radeonsi: cap VP9 support to progressive buffer
authorLeo Liu <leo.liu@amd.com>
Wed, 14 Mar 2018 19:29:04 +0000 (15:29 -0400)
committerLeo Liu <leo.liu@amd.com>
Thu, 12 Apr 2018 15:15:13 +0000 (11:15 -0400)
Signed-off-by: Leo Liu <leo.liu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/radeonsi/si_get.c

index 761ca6f4cdff64f7cb3d21106d7d40edbd6fba28..4483ca766dde3da9d6eafad3d1e146bf8af737b4 100644 (file)
@@ -675,6 +675,8 @@ static int si_get_video_param(struct pipe_screen *screen,
                        return false; //The firmware doesn't support interlaced HEVC.
                else if (format == PIPE_VIDEO_FORMAT_JPEG)
                        return false;
+               else if (format == PIPE_VIDEO_FORMAT_VP9)
+                       return false;
                return true;
        }
        case PIPE_VIDEO_CAP_SUPPORTS_PROGRESSIVE: