aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2023-09-12 21:27:44 +0000
committerAlex Deucher <[email protected]>2023-09-20 16:25:11 +0000
commitd11bbacee3eec50e8912cc1b7324b6ad76b5175c (patch)
treeb9fd1cc23cce226996622363061a66d9a21c83cf /drivers/gpu/drm/amd/amdgpu
parentdrm/amdgpu: add amdgpu smu mca dump feature support (diff)
downloadkernel-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]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c4
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;