[PATCH] drm/amdkfd: Set p2plink non-coherent in topology

Felix Kuehling felix.kuehling at amd.com
Thu Jun 17 16:19:02 UTC 2021


If this is for the DKMS branch, the review should go to our internal
review list.

Regards,
  Felix


Am 2021-06-17 um 10:20 a.m. schrieb Eric Huang:
> Fix non-coherent bit of p2plink properties flag
> which always is 0.
>
> Signed-off-by: Eric Huang <jinhuieric.huang at amd.com>
> ---
>  drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_topology.c b/drivers/gpu/drm/amd/amdkfd/kfd_topology.c
> index d390aa369f7b..0705ff5eaa26 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_topology.c
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_topology.c
> @@ -1404,6 +1404,7 @@ static void kfd_fill_iolink_non_crat_info(struct kfd_topology_device *dev)
>  
>  			inbound_link->flags = CRAT_IOLINK_FLAGS_ENABLED;
>  			kfd_set_iolink_no_atomics(peer_dev, dev, inbound_link);
> +			kfd_set_iolink_non_coherent(peer_dev, link, inbound_link);
>  		}
>  	}
>  }


More information about the amd-gfx mailing list