Commit d11bbace authored by Alex Deucher's avatar Alex Deucher

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

Add missing IP discovery info.
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarLang Yu <lang.yu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 7ff607e2
...@@ -518,6 +518,10 @@ static int amdgpu_hw_ip_info(struct amdgpu_device *adev, ...@@ -518,6 +518,10 @@ static int amdgpu_hw_ip_info(struct amdgpu_device *adev,
result->ip_discovery_version = result->ip_discovery_version =
amdgpu_ip_version(adev, VCE_HWIP, 0); amdgpu_ip_version(adev, VCE_HWIP, 0);
break; break;
case AMD_IP_BLOCK_TYPE_VPE:
result->ip_discovery_version =
amdgpu_ip_version(adev, VPE_HWIP, 0);
break;
default: default:
result->ip_discovery_version = 0; result->ip_discovery_version = 0;
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment