diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2023-09-13 00:27:44 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-09-20 19:25:11 +0300 |
commit | d11bbacee3eec50e8912cc1b7324b6ad76b5175c (patch) | |
tree | b9fd1cc23cce226996622363061a66d9a21c83cf | |
parent | 7ff607e27233861b3f83e658317b3fb18b047229 (diff) | |
download | linux-d11bbacee3eec50e8912cc1b7324b6ad76b5175c.tar.xz |
drm/amdgpu: add VPE IP discovery info to HW IP info query
Add missing IP discovery info.
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Lang Yu <lang.yu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c index dfd24a582391..24d866ed5922 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c @@ -518,6 +518,10 @@ static int amdgpu_hw_ip_info(struct amdgpu_device *adev, result->ip_discovery_version = amdgpu_ip_version(adev, VCE_HWIP, 0); break; + case AMD_IP_BLOCK_TYPE_VPE: + result->ip_discovery_version = + amdgpu_ip_version(adev, VPE_HWIP, 0); + break; default: result->ip_discovery_version = 0; break; |