diff options
| author | Alex Deucher <[email protected]> | 2023-09-12 21:27:44 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-09-20 16:25:11 +0000 |
| commit | d11bbacee3eec50e8912cc1b7324b6ad76b5175c (patch) | |
| tree | b9fd1cc23cce226996622363061a66d9a21c83cf | |
| parent | drm/amdgpu: add amdgpu smu mca dump feature support (diff) | |
| download | kernel-d11bbacee3eec50e8912cc1b7324b6ad76b5175c.tar.gz kernel-d11bbacee3eec50e8912cc1b7324b6ad76b5175c.zip | |
drm/amdgpu: add VPE IP discovery info to HW IP info query
Add missing IP discovery info.
Reviewed-by: Christian König <[email protected]>
Reviewed-by: Lang Yu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
| -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; |
