radeonsi: cap VP9 support to Raven

Signed-off-by: Leo Liu <leo.liu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
This commit is contained in:
Leo Liu 2018-03-14 15:27:01 -04:00
parent 905368669d
commit 6adaf6de6d
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}