Re: [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]

 



Am 12.09.23 um 23:28 schrieb Alex Deucher:
Add missing IP discovery info.

Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx>

Reviewed-by: Christian König <christian.koenig@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;




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

  Powered by Linux