[PATCH] drm/amdgpu: add VPE IP discovery info to HW IP info query
Alex Deucher
alexander.deucher at amd.com
Tue Sep 12 21:28:43 UTC 2023
Add missing IP discovery info.
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
index a74ea53899f6..512eb3d8eaf1 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
@@ -514,6 +514,9 @@ static int amdgpu_hw_ip_info(struct amdgpu_device *adev,
case AMD_IP_BLOCK_TYPE_VCE:
result->ip_discovery_version = adev->ip_versions[VCE_HWIP][0];
break;
+ case AMD_IP_BLOCK_TYPE_VPE:
+ result->ip_discovery_version = adev->ip_versions[VPE_HWIP][0];
+ break;
default:
result->ip_discovery_version = 0;
break;
--
2.41.0
More information about the amd-gfx
mailing list