> -----Original Message----- > From: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] On Behalf > Of Rex Zhu > Sent: Thursday, July 27, 2017 8:33 AM > To: amd-gfx at lists.freedesktop.org > Cc: Zhu, Rex > Subject: [PATCH] drm/amd/powerplay: delete PCC error message in > smu7_hwmgr.c > > In some asics,Really no need to program PCC HW register. > > Change-Id: Ieebe926334ee2b183ad0dd57fb2e2981b405eb13 > Signed-off-by: Rex Zhu <Rex.Zhu at amd.com> Reviewed-by: Alex Deucher <alexander.deucher at amd.com> > --- > drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c > b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c > index 736f193..2d4244f 100644 > --- a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c > +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c > @@ -1962,9 +1962,6 @@ static int smu7_thermal_parameter_init(struct > pp_hwmgr *hwmgr) > temp_reg = PHM_SET_FIELD(temp_reg, > CNB_PWRMGT_CNTL, DPM_ENABLED, 0x1); > break; > default: > - PP_ASSERT_WITH_CODE(0, > - "Failed to setup PCC HW register! Wrong GPIO > assigned for VDDC_PCC_GPIO_PINID!", > - ); > break; > } > cgs_write_ind_register(hwmgr->device, > CGS_IND_REG__SMC, ixCNB_PWRMGT_CNTL, temp_reg); > -- > 1.9.1 > > _______________________________________________ > amd-gfx mailing list > amd-gfx at lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/amd-gfx