drm/amdgpu: Always enable memory sharing within same XGMI hive
Subsystems (2)
PATCH 1/1 drm/amdgpu: Always enable memory sharing within same XGMI hive
XGMI Memory sharing will be disbaled by default for security reason after boot up, it depends on driver to enable the memory sharing
--- drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +1 -1
@@ -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; }
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 1554762769-15497-1-git-send-email-shaoyun.liu-5C7GfCeVMHo@public.gmane.org
ping
Quoted 14 lines · Shaoyun
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 Ib516066eecfb877f84f1460a4d659abea44adb02Signed-off-by shaoyunl <[email protected]>--- drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +0
-0
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c static int psp_v11_0_xgmi_set_topology_info(struct psp_context *psp, · line 680
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +1
-1@@ -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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 10a87b48-90a3-c2f6-adf7-3ebb258966c7-5C7GfCeVMHo@public.gmane.org
Quan, Evan
Acked-by Evan QuanQuoted 34 lines
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Liu, Shaoyun
Sent: Tuesday, April 09, 2019 10:55 PM
To: [email protected]
Subject: Re: [PATCH] drm/amdgpu: Always enable memory sharing within same XGMI hiveping
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c static int psp_v11_0_xgmi_set_topology_info(struct
Quoted 15 lines · Shaoyun
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 Ib516066eecfb877f84f1460a4d659abea44adb02Signed-off-by shaoyunl <[email protected]>--- drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +0
-0@@ -674,7 +674,7 @@ static int psp_v11_0_xgmi_set_topology_info(struct
psp_context*psp,drivers/gpu/drm/amd/amdgpu/psp_v11_0.c static int psp_v11_0_xgmi_set_topology_info(struct · line 679
Quoted 6 lines
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +0
-1for (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;
Quoted 9 lines
Quoted 5 lines
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +1
-0+ 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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx