Commit 55e7de7b authored by Boyuan Zhang's avatar Boyuan Zhang Committed by Leo Liu

radeonsi: enable vcn jpeg decode for raven

Enable vcn jpeg decode for raven.
Signed-off-by: Boyuan Zhang's avatarBoyuan Zhang <boyuan.zhang@amd.com>
Reviewed-by: Leo Liu's avatarLeo Liu <leo.liu@amd.com>
parent 97c473bb
......@@ -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)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment