[PATCH] drm/amdgpu: add LSDMA block for LSDMA v6.0.1

Alex Deucher alexdeucher at gmail.com
Mon Jun 20 13:44:20 UTC 2022


On Mon, Jun 20, 2022 at 7:45 AM Yifan Zhang <yifan1.zhang at amd.com> wrote:
>
> This patch adds LSDMA ip block for LSDMA v6.0.1.
>
> Signed-off-by: Yifan Zhang <yifan1.zhang at amd.com>

Reviewed-by: Alex Deucher <alexander.deucher 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 11bbd76c581c..37234c2998d7 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
> @@ -2333,6 +2333,7 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
>
>         switch (adev->ip_versions[LSDMA_HWIP][0]) {
>         case IP_VERSION(6, 0, 0):
> +       case IP_VERSION(6, 0, 1):
>         case IP_VERSION(6, 0, 2):
>                 adev->lsdma.funcs = &lsdma_v6_0_funcs;
>                 break;
> --
> 2.35.1
>


More information about the amd-gfx mailing list