mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 05:58:05 +02:00
ac/gpu_info: Add vcn_fw_revision
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35543>
This commit is contained in:
parent
1d62d989a1
commit
3b6f23a8e1
2 changed files with 2 additions and 0 deletions
|
|
@ -682,6 +682,7 @@ ac_query_gpu_info(int fd, void *dev_p, struct radeon_info *info,
|
|||
info->vcn_dec_version = (vidip_fw_version & 0x0F000000) >> 24;
|
||||
info->vcn_enc_major_version = (vidip_fw_version & 0x00F00000) >> 20;
|
||||
info->vcn_enc_minor_version = (vidip_fw_version & 0x000FF000) >> 12;
|
||||
info->vcn_fw_revision = (vidip_fw_version & 0x00000FFF);
|
||||
}
|
||||
} else {
|
||||
if (info->ip[AMD_IP_VCE].num_queues) {
|
||||
|
|
|
|||
|
|
@ -206,6 +206,7 @@ struct radeon_info {
|
|||
uint32_t vcn_dec_version;
|
||||
uint32_t vcn_enc_major_version;
|
||||
uint32_t vcn_enc_minor_version;
|
||||
uint32_t vcn_fw_revision;
|
||||
struct video_caps_info {
|
||||
struct video_codec_cap {
|
||||
uint32_t valid;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue