[PATCH v3 1/3] drm/amdgpu: add Vangogh APU flag to IP discovery path

Alex Deucher alexdeucher at gmail.com
Thu Nov 3 13:12:35 UTC 2022


Series is:
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

On Thu, Nov 3, 2022 at 2:24 AM Perry Yuan <Perry.Yuan at amd.com> wrote:
>
> Add the missing apu flag for Vangogh when using IP discovery code path
> to initialize IPs
>
> Signed-off-by: Perry Yuan <Perry.Yuan at amd.com>
> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
> index 95d34590cad1..c1b1f223f3d0 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
> @@ -2153,6 +2153,7 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
>                 break;
>         case IP_VERSION(10, 3, 1):
>                 adev->family = AMDGPU_FAMILY_VGH;
> +               adev->apu_flags |= AMD_APU_IS_VANGOGH;
>                 break;
>         case IP_VERSION(10, 3, 3):
>                 adev->family = AMDGPU_FAMILY_YC;
> --
> 2.34.1
>


More information about the amd-gfx mailing list