mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 14:56:54 -04:00
drm/amd/pm: partially enable swsmu for yellow carp(V2)
This patch is to partially enable swSMU for yellow carp for the moment. V2: rename smu_v13_0 to smu_v13_0_1. Signed-off-by: Aaron Liu <aaron.liu@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -658,6 +658,9 @@ static int smu_late_init(void *handle)
|
||||
|
||||
smu_set_fine_grain_gfx_freq_parameters(smu);
|
||||
|
||||
if (adev->asic_type == CHIP_YELLOW_CARP)
|
||||
return 0;
|
||||
|
||||
if (!smu->pm_enabled)
|
||||
return 0;
|
||||
|
||||
@@ -1303,6 +1306,9 @@ static int smu_hw_init(void *handle)
|
||||
smu_set_gfx_cgpg(&adev->smu, true);
|
||||
}
|
||||
|
||||
if (adev->asic_type == CHIP_YELLOW_CARP)
|
||||
return 0;
|
||||
|
||||
if (!smu->pm_enabled)
|
||||
return 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user