mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 13:38:06 +02:00
radeonsi: enable vcn jpeg decode for raven
Enable vcn jpeg decode for raven. Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com> Reviewed-by: Leo Liu <leo.liu@amd.com>
This commit is contained in:
parent
97c473bb29
commit
55e7de7b19
1 changed files with 2 additions and 0 deletions
|
|
@ -631,6 +631,8 @@ static int si_get_video_param(struct pipe_screen *screen,
|
|||
return profile == PIPE_VIDEO_PROFILE_HEVC_MAIN;
|
||||
return false;
|
||||
case PIPE_VIDEO_FORMAT_JPEG:
|
||||
if (sscreen->info.family == CHIP_RAVEN)
|
||||
return true;
|
||||
if (sscreen->info.family < CHIP_CARRIZO || sscreen->info.family >= CHIP_VEGA10)
|
||||
return false;
|
||||
if (!(sscreen->info.drm_major == 3 && sscreen->info.drm_minor >= 19)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue