diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c index 01860a132c33..081bd28e2443 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c @@ -540,25 +540,25 @@ static int amdgpu_hw_ip_info(struct amdgpu_device *adev, switch (type) { case AMD_IP_BLOCK_TYPE_GFX: result->ip_discovery_version = - amdgpu_ip_version(adev, GC_HWIP, 0); + IP_VERSION_MAJ_MIN_REV(amdgpu_ip_version(adev, GC_HWIP, 0)); break; case AMD_IP_BLOCK_TYPE_SDMA: result->ip_discovery_version = - amdgpu_ip_version(adev, SDMA0_HWIP, 0); + IP_VERSION_MAJ_MIN_REV(amdgpu_ip_version(adev, SDMA0_HWIP, 0)); break; case AMD_IP_BLOCK_TYPE_UVD: case AMD_IP_BLOCK_TYPE_VCN: case AMD_IP_BLOCK_TYPE_JPEG: result->ip_discovery_version = - amdgpu_ip_version(adev, UVD_HWIP, 0); + IP_VERSION_MAJ_MIN_REV(amdgpu_ip_version(adev, UVD_HWIP, 0)); break; case AMD_IP_BLOCK_TYPE_VCE: result->ip_discovery_version = - amdgpu_ip_version(adev, VCE_HWIP, 0); + IP_VERSION_MAJ_MIN_REV(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); + IP_VERSION_MAJ_MIN_REV(amdgpu_ip_version(adev, VPE_HWIP, 0)); break; default: result->ip_discovery_version = 0; |
