drm/amdgpu/pm: no need GPU status set since mmnbif_gpu_BIF_DOORBELL_FENCE_CNTL added in FSDL
Subsystems (3)
PATCH 1/1 drm/amdgpu/pm: no need GPU status set since mmnbif_gpu_BIF_DOORBELL_FENCE_CNTL added in FSDL
In the renoir there is no need GpuChangeState message set to exit gfxoff in the s0i3 resume since mmnbif_gpu_BIF_DOORBELL_FENCE_CNTL has been added in the s0i3 FSDL.
Signed-off-by Prike Liang <[email protected]>
--- drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c +1 -1
@@ -1306,7 +1306,7 @@ static ssize_t renoir_get_gpu_metrics(struct smu_context *smu,static int renoir_gfx_state_change_set (struct smu_context *smu,uint32_t state) { -return smu_cmn_send_smc_msg_with_param (smu, SMU_MSG_GpuChangeState, state,NULL ); +return 0 ; }static const struct pptable_funcs renoir_ppt_funcs = {
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Quoted 4 lines · Prike
In the renoir there is no need GpuChangeState message set to exit gfxoff in the s0i3 resume since
mmnbif_gpu_BIF_DOORBELL_FENCE_CNTLhas been added in the s0i3 FSDL.Signed-off-by Prike Liang <[email protected]>
Reviewed-by Huang Rui <[email protected]>
Quoted 20 lines
--- drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c +1
-1@@ -1306,7 +1306,7 @@ static ssize_t renoir_get_gpu_metrics(struct smu_context *smu,static int renoir_gfx_state_change_set (struct smu_context *smu,uint32_t state) { -return smu_cmn_send_smc_msg_with_param (smu, SMU_MSG_GpuChangeState, state,NULL ); +return 0 ; }static const struct pptable_funcs renoir_ppt_funcs = {Signature · 1 line
2.7.4
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx