mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 07:59:42 -04: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user