summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeo Liu <[email protected]>2018-03-14 15:29:04 -0400
committerLeo Liu <[email protected]>2018-04-12 11:15:13 -0400
commit0f373a65e54ae165b9d928aaef497577c8a4c362 (patch)
tree6c58907452412dcd7dee280f259072846823ffb1 /src
parent6adaf6de6d61ea8409601c2cdc39f99366cc3379 (diff)
radeonsi: cap VP9 support to progressive buffer
Signed-off-by: Leo Liu <[email protected]> Acked-by: Christian König <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/radeonsi/si_get.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_get.c b/src/gallium/drivers/radeonsi/si_get.c
index 761ca6f4cdf..4483ca766dd 100644
--- a/src/gallium/drivers/radeonsi/si_get.c
+++ b/src/gallium/drivers/radeonsi/si_get.c
@@ -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: