mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 14:18:07 +02:00
radeonsi/vcn: set jpeg reg version for gfx 1150
select appropriate jpeg register version for gfx1150 Signed-off-by: Saleemkhan Jamadar <saleemkhan.jamadar@amd.com> Reviewed-by: Leo Liu <Leo.Liu@amd.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25278>
This commit is contained in:
parent
6835257246
commit
5f19452b8c
3 changed files with 5 additions and 0 deletions
|
|
@ -972,6 +972,9 @@ bool ac_query_gpu_info(int fd, void *dev_p, struct radeon_info *info,
|
|||
case VCN_IP_VERSION(4, 0, 4):
|
||||
info->vcn_ip_version = VCN_4_0_4;
|
||||
break;
|
||||
case VCN_IP_VERSION(4, 0, 5):
|
||||
info->vcn_ip_version = VCN_4_0_5;
|
||||
break;
|
||||
default:
|
||||
info->vcn_ip_version = VCN_UNKNOWN;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -199,6 +199,7 @@ enum vcn_version{
|
|||
VCN_4_0_2,
|
||||
VCN_4_0_3,
|
||||
VCN_4_0_4,
|
||||
VCN_4_0_5,
|
||||
};
|
||||
|
||||
const char *ac_get_family_name(enum radeon_family family);
|
||||
|
|
|
|||
|
|
@ -3252,6 +3252,7 @@ struct pipe_video_codec *radeon_create_decoder(struct pipe_context *context,
|
|||
case VCN_4_0_0:
|
||||
case VCN_4_0_2:
|
||||
case VCN_4_0_4:
|
||||
case VCN_4_0_5:
|
||||
dec->jpg_reg.version = RDECODE_JPEG_REG_VER_V2;
|
||||
dec->addr_gfx_mode = RDECODE_ARRAY_MODE_ADDRLIB_SEL_GFX11;
|
||||
dec->av1_version = RDECODE_AV1_VER_1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue