mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 05:58:05 +02:00
radeonsi: add JPEG decode support for VCN 2.0 devices
Signed-off-by: Thong Thai <thong.thai@amd.com> Reviewed-by: Boyuan Zhang <boyuan.zhang@amd.com>
This commit is contained in:
parent
2a3a560407
commit
8d03a6b700
1 changed files with 1 additions and 3 deletions
|
|
@ -643,9 +643,7 @@ 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 ||
|
||||
sscreen->info.family == CHIP_RAVEN2 ||
|
||||
sscreen->info.family == CHIP_NAVI10)
|
||||
if (sscreen->info.family >= CHIP_RAVEN)
|
||||
return true;
|
||||
if (sscreen->info.family < CHIP_CARRIZO || sscreen->info.family >= CHIP_VEGA10)
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue