drm/admgpu/powerplay/polaris: fix powertune table upload
Subsystems (2)
PATCH 1/1 drm/admgpu/powerplay/polaris: fix powertune table upload
From: Rex Zhu <[email protected]>
Exclude AVFS related fields when update powertune table to hw. The driver shouldn't set them directly.
Signed-off-by Rex Zhu <[email protected]>
Reviewed-by Alex Deucher <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_powertune.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_powertune.c +1 -1
@@ -286,7 +286,7 @@ int polaris10_populate_pm_fuses(struct pp_hwmgr *hwmgr)if (polaris10_copy_bytes_to_smc (hwmgr->smumgr, pm_fuse_table_offset, (uint8_t *)&data->power_tune_table, -sizeof (struct SMU74_Discrete_PmFuses ), data->sram_end)) + (sizeof (struct SMU74_Discrete_PmFuses ) -92 ), data->sram_end))PP_ASSERT_WITH_CODE (false,"Attempt to download PmFuseTable Failed!" , return -EINVAL );
Signature · 6 lines
2.5.5 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel