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

Christian König ckoenig.leichtzumerken at gmail.com
Wed Sep 13 08:27:10 UTC 2023


Am 12.09.23 um 23:28 schrieb Alex Deucher:
> Add missing IP discovery info.
>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

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



More information about the amd-gfx mailing list