Signed-off-by: Leo Liu <leo....@amd.com>
---
 src/gallium/drivers/radeonsi/si_get.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/gallium/drivers/radeonsi/si_get.c 
b/src/gallium/drivers/radeonsi/si_get.c
index 85cfb11338..761ca6f4cd 100644
--- a/src/gallium/drivers/radeonsi/si_get.c
+++ b/src/gallium/drivers/radeonsi/si_get.c
@@ -648,6 +648,10 @@ static int si_get_video_param(struct pipe_screen *screen,
                                return false;
                        }
                        return true;
+               case PIPE_VIDEO_FORMAT_VP9:
+                       if (sscreen->info.family < CHIP_RAVEN)
+                               return false;
+                       return true;
                default:
                        return false;
                }
-- 
2.14.1

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to