[PATCH] drm/amdgpu: Always enable memory sharing within same XGMI hive
Quan, Evan
Evan.Quan at amd.com
Wed Apr 10 01:18:33 UTC 2019
Acked-by: Evan Quan <evan.quan at amd.com>
> -----Original Message-----
> From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> On Behalf Of Liu,
> Shaoyun
> Sent: Tuesday, April 09, 2019 10:55 PM
> To: amd-gfx at lists.freedesktop.org
> Subject: Re: [PATCH] drm/amdgpu: Always enable memory sharing within
> same XGMI hive
>
> ping
>
> On 2019-04-08 6:32 p.m., Liu, Shaoyun wrote:
> > XGMI Memory sharing will be disbaled by default for security reason
> > after boot up, it depends on driver to enable the memory sharing
> >
> > Change-Id: Ib516066eecfb877f84f1460a4d659abea44adb02
> > Signed-off-by: shaoyunl <shaoyun.liu at amd.com>
> > ---
> > drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
> > b/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
> > index 2b3429d..b91df7b 100644
> > --- a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
> > +++ b/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
> > @@ -674,7 +674,7 @@ static int psp_v11_0_xgmi_set_topology_info(struct
> psp_context *psp,
> > for (i = 0; i < topology_info_input->num_nodes; i++) {
> > topology_info_input->nodes[i].node_id = topology-
> >nodes[i].node_id;
> > topology_info_input->nodes[i].num_hops = topology-
> >nodes[i].num_hops;
> > - topology_info_input->nodes[i].is_sharing_enabled =
> topology->nodes[i].is_sharing_enabled;
> > + topology_info_input->nodes[i].is_sharing_enabled = 1;
> > topology_info_input->nodes[i].sdma_engine = topology-
> >nodes[i].sdma_engine;
> > }
> >
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
More information about the amd-gfx
mailing list