Commit ca04ce7
drm/msm/a6xx: Improve MX rail fallback in RPMH vote init
Current logic assumes that the voltage corners in both MxG and MxA are
always same. This is not true for recent targets. So, rework the rpmh init
sequence to probe and calculate the votes with the respective rails, ie,
GX rails should use MxG as secondary rail and Cx rail should use MxA as
the secondary rail.
Fixes: d6225e0 ("drm/msm/adreno: Add support for X185 GPU")
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/689014/
Message-ID: <20251118-kaana-gpu-support-v4-12-86eeb8e93fb6@oss.qualcomm.com>
Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>1 parent 50e8a55 commit ca04ce7
1 file changed
Lines changed: 15 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1544 | 1544 | | |
1545 | 1545 | | |
1546 | 1546 | | |
1547 | | - | |
| 1547 | + | |
| 1548 | + | |
1548 | 1549 | | |
1549 | 1550 | | |
1550 | 1551 | | |
1551 | 1552 | | |
1552 | 1553 | | |
1553 | | - | |
| 1554 | + | |
1554 | 1555 | | |
1555 | 1556 | | |
1556 | 1557 | | |
| |||
1561 | 1562 | | |
1562 | 1563 | | |
1563 | 1564 | | |
1564 | | - | |
1565 | | - | |
1566 | | - | |
1567 | | - | |
1568 | | - | |
1569 | | - | |
1570 | | - | |
| 1565 | + | |
1571 | 1566 | | |
1572 | 1567 | | |
1573 | 1568 | | |
| |||
1635 | 1630 | | |
1636 | 1631 | | |
1637 | 1632 | | |
| 1633 | + | |
| 1634 | + | |
1638 | 1635 | | |
1639 | 1636 | | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
1640 | 1644 | | |
1641 | 1645 | | |
1642 | | - | |
| 1646 | + | |
1643 | 1647 | | |
1644 | 1648 | | |
1645 | 1649 | | |
1646 | | - | |
| 1650 | + | |
1647 | 1651 | | |
1648 | 1652 | | |
1649 | 1653 | | |
| |||
0 commit comments