All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amdkfd: Set p2plink non-coherent in topology
@ 2021-06-17 14:20 Eric Huang
  2021-06-17 16:19 ` Felix Kuehling
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Huang @ 2021-06-17 14:20 UTC (permalink / raw)
  To: amd-gfx; +Cc: Eric Huang

Fix non-coherent bit of p2plink properties flag
which always is 0.

Signed-off-by: Eric Huang <jinhuieric.huang@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);
 		}
 	}
 }
-- 
2.25.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm/amdkfd: Set p2plink non-coherent in topology
  2021-06-17 14:20 [PATCH] drm/amdkfd: Set p2plink non-coherent in topology Eric Huang
@ 2021-06-17 16:19 ` Felix Kuehling
  0 siblings, 0 replies; 2+ messages in thread
From: Felix Kuehling @ 2021-06-17 16:19 UTC (permalink / raw)
  To: Eric Huang, amd-gfx

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@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);
>  		}
>  	}
>  }
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-17 16:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-17 14:20 [PATCH] drm/amdkfd: Set p2plink non-coherent in topology Eric Huang
2021-06-17 16:19 ` Felix Kuehling

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.