Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/radeon/dpm: fix typo in vddci setup for eg/btc

We were using the vddc mask rather than the vddci mask.

Bug:
https://bugzilla.kernel.org/show_bug.cgi?id=79071

Possibly also fixes:
https://bugzilla.kernel.org/show_bug.cgi?id=68571

Noticed-by: Jonathan Howard <jonathan@unbiased.name>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org

+1 -1
+1 -1
drivers/gpu/drm/radeon/cypress_dpm.c
··· 1551 1551 1552 1552 table->voltageMaskTable.highMask[RV770_SMC_VOLTAGEMASK_VDDCI] = 0; 1553 1553 table->voltageMaskTable.lowMask[RV770_SMC_VOLTAGEMASK_VDDCI] = 1554 - cpu_to_be32(eg_pi->vddc_voltage_table.mask_low); 1554 + cpu_to_be32(eg_pi->vddci_voltage_table.mask_low); 1555 1555 } 1556 1556 1557 1557 return 0;