Commit 79e25cd
committed
drm/amdgpu/swm14: Update power limit logic
Take into account the limits from the vbios. Ported
from the SMU13 code.
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4352
Reviewed-by: Jesse Zhang <Jesse.Zhang@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 203cc7f1dd86f2c8de5c3c6182f19adac7c9c206)
Cc: stable@vger.kernel.org1 parent 0aa8664 commit 79e25cd
1 file changed
Lines changed: 25 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1697 | 1697 | | |
1698 | 1698 | | |
1699 | 1699 | | |
| 1700 | + | |
| 1701 | + | |
1700 | 1702 | | |
1701 | 1703 | | |
1702 | | - | |
| 1704 | + | |
1703 | 1705 | | |
1704 | 1706 | | |
1705 | 1707 | | |
| |||
1712 | 1714 | | |
1713 | 1715 | | |
1714 | 1716 | | |
1715 | | - | |
1716 | | - | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
| 1723 | + | |
| 1724 | + | |
| 1725 | + | |
| 1726 | + | |
| 1727 | + | |
| 1728 | + | |
| 1729 | + | |
| 1730 | + | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
| 1734 | + | |
1717 | 1735 | | |
1718 | | - | |
1719 | | - | |
| 1736 | + | |
| 1737 | + | |
| 1738 | + | |
| 1739 | + | |
1720 | 1740 | | |
1721 | 1741 | | |
1722 | 1742 | | |
| |||
0 commit comments