[PATCH] drm/amdgpu: Enable light SBR in XGMI+passthrough configuration

2021-03-12 Thread shaoyunl
This is to fix the commit dda9bbb26c7 where it only enable the light SMU on normal device init. This feature actually need to be enabled after ASIC been reset as well. Signed-off-by: shaoyunl Change-Id: Ie7ee02cd3ccdab3522aad9a02f681963e211ed44 --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 9

RE: [PATCH] drm/amdgpu: Enable light SBR in XGMI+passthrough configuration

2021-03-12 Thread Liu, Shaoyun
ally which valid our original design. Regards Shaoyun.liu From: Lazar, Lijo Sent: Friday, March 12, 2021 11:54 AM To: Liu, Shaoyun ; amd-gfx@lists.freedesktop.org; Quan, Evan ; Zhang, Hawking Subject: RE: [PATCH] drm/amdgpu: Enable light SBR in XGMI+passthrough configuration [AMD Public Use]

RE: [PATCH] drm/amdgpu: Enable light SBR in XGMI+passthrough configuration

2021-03-12 Thread Lazar, Lijo
To: Lazar, Lijo ; amd-gfx@lists.freedesktop.org; Quan, Evan ; Zhang, Hawking Subject: RE: [PATCH] drm/amdgpu: Enable light SBR in XGMI+passthrough configuration [AMD Public Use] I don't like to add this set_light_sbr into ppt_funcs either , but please check current swsmu code stru

RE: [PATCH] drm/amdgpu: Enable light SBR in XGMI+passthrough configuration

2021-03-12 Thread Liu, Shaoyun
nd Quan for comments . Regards Shaoyun.liu From: Lazar, Lijo Sent: Friday, March 12, 2021 8:55 AM To: Liu, Shaoyun ; amd-gfx@lists.freedesktop.org Subject: RE: [PATCH] drm/amdgpu: Enable light SBR in XGMI+passthrough configuration [AMD Public Use] We want to keep ppt_funcs minimal. Adding ev

RE: [PATCH] drm/amdgpu: Enable light SBR in XGMI+passthrough configuration

2021-03-12 Thread Lazar, Lijo
: [PATCH] drm/amdgpu: Enable light SBR in XGMI+passthrough configuration Thanks for the comments. This light sbr solution could be applied to other asic as well. In swsmu code, It will check whether the function pointer set_light_sbr is valid before real call the function. So for other asics if the

Re: [PATCH] drm/amdgpu: Enable light SBR in XGMI+passthrough configuration

2021-03-12 Thread Liu, Shaoyun
Sent: Thursday, March 11, 2021 10:46 PM To: amd-gfx@lists.freedesktop.org Cc: Liu, Shaoyun Subject: [PATCH] drm/amdgpu: Enable light SBR in XGMI+passthrough configuration This is to fix the commit dda9bbb26c7 where it only enable the light SMU on normal device init. This feature actually need to be en

RE: [PATCH] drm/amdgpu: Enable light SBR in XGMI+passthrough configuration

2021-03-11 Thread Lazar, Lijo
rsday, March 11, 2021 10:46 PM To: amd-gfx@lists.freedesktop.org Cc: Liu, Shaoyun Subject: [PATCH] drm/amdgpu: Enable light SBR in XGMI+passthrough configuration This is to fix the commit dda9bbb26c7 where it only enable the light SMU on normal device init. This feature actually need to be enabled

RE: [PATCH] drm/amdgpu: Enable light SBR in XGMI+passthrough configuration

2021-03-11 Thread Liu, Shaoyun
[AMD Official Use Only - Internal Distribution Only] Ping . -Original Message- From: Liu, Shaoyun Sent: Thursday, March 11, 2021 12:16 PM To: amd-gfx@lists.freedesktop.org Cc: Liu, Shaoyun Subject: [PATCH] drm/amdgpu: Enable light SBR in XGMI+passthrough configuration This is to fix

[PATCH] drm/amdgpu: Enable light SBR in XGMI+passthrough configuration

2021-03-11 Thread shaoyunl
This is to fix the commit dda9bbb26c7 where it only enable the light SMU on normal device init. This feature actually need to be enabled after ASIC been reset as well. Signed-off-by: shaoyunl Change-Id: Ie7ee02cd3ccdab3522aad9a02f681963e211ed44 --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 7