drm/amd/pm: Sienna: Print failed BTC
Add a print in sienna_cichlid_run_btc() to help debug and to mirror other platforms, as no print is present in the caller, smu_smc_hw_setup(). Cc: Alex Deucher <Alexander.Deucher@amd.com> Signed-off-by: Luben Tuikov <luben.tuikov@amd.com> Reviewed-by: Alex Deucher <Alexander.Deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
ca4b32bb2d
commit
dc78fea1e7
@@ -2142,7 +2142,13 @@ static int sienna_cichlid_od_edit_dpm_table(struct smu_context *smu,
|
||||
|
||||
static int sienna_cichlid_run_btc(struct smu_context *smu)
|
||||
{
|
||||
return smu_cmn_send_smc_msg(smu, SMU_MSG_RunDcBtc, NULL);
|
||||
int res;
|
||||
|
||||
res = smu_cmn_send_smc_msg(smu, SMU_MSG_RunDcBtc, NULL);
|
||||
if (res)
|
||||
dev_err(smu->adev->dev, "RunDcBtc failed!\n");
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
static int sienna_cichlid_baco_enter(struct smu_context *smu)
|
||||
|
||||
Reference in New Issue
Block a user