[PATCH] drm/amdgpu: add VPE IP discovery info to HW IP info query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add missing IP discovery info.

Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx>
---
 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




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux