mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 15:18:19 +00:00
drm/amd/pm: Use VBIOS PPTable for aldebaran
Keep the logic to force-use VBIOS PPTable in aldebaran rather than in generic SMU13. Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Kevin Wang <kevin1.wang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
af8352f1ff
commit
96381e3a0a
2 changed files with 3 additions and 2 deletions
|
@ -405,6 +405,9 @@ static int aldebaran_setup_pptable(struct smu_context *smu)
|
|||
{
|
||||
int ret = 0;
|
||||
|
||||
/* VBIOS pptable is the first choice */
|
||||
smu->smu_table.boot_values.pp_table_id = 0;
|
||||
|
||||
ret = smu_v13_0_setup_pptable(smu);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
|
|
@ -276,8 +276,6 @@ int smu_v13_0_setup_pptable(struct smu_context *smu)
|
|||
void *table;
|
||||
uint16_t version_major, version_minor;
|
||||
|
||||
/* temporarily hardcode to use vbios pptable */
|
||||
smu->smu_table.boot_values.pp_table_id = 0;
|
||||
|
||||
if (amdgpu_smu_pptable_id >= 0) {
|
||||
smu->smu_table.boot_values.pp_table_id = amdgpu_smu_pptable_id;
|
||||
|
|
Loading…
Reference in a new issue