Commit b998684
drm/msm/a6xx: Fix up QMP handling
The commit referenced in the Fixes tag had a couple problems (as
pointed out by Dan):
- qmp_put was never called, resulting in refcnt leaks
- failling to acquire the QMP mailbox on A7xx would not undo the probe
function properly
- the qmp_put call present in the code was unreachable
Fix all of these issues.
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Fixes: 88a0997 ("drm/msm/a6xx: Send ACD state to QMP at GMU resume")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/562761/
Signed-off-by: Rob Clark <robdclark@chromium.org>1 parent 5e05be7 commit b998684
1 file changed
Lines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1558 | 1558 | | |
1559 | 1559 | | |
1560 | 1560 | | |
| 1561 | + | |
| 1562 | + | |
| 1563 | + | |
1561 | 1564 | | |
1562 | 1565 | | |
1563 | 1566 | | |
| |||
1654 | 1657 | | |
1655 | 1658 | | |
1656 | 1659 | | |
| 1660 | + | |
1657 | 1661 | | |
1658 | 1662 | | |
1659 | 1663 | | |
| |||
1777 | 1781 | | |
1778 | 1782 | | |
1779 | 1783 | | |
1780 | | - | |
1781 | | - | |
| 1784 | + | |
| 1785 | + | |
1782 | 1786 | | |
1783 | 1787 | | |
1784 | 1788 | | |
1785 | 1789 | | |
1786 | 1790 | | |
1787 | | - | |
1788 | | - | |
| 1791 | + | |
| 1792 | + | |
| 1793 | + | |
| 1794 | + | |
1789 | 1795 | | |
1790 | 1796 | | |
1791 | 1797 | | |
| |||
1810 | 1816 | | |
1811 | 1817 | | |
1812 | 1818 | | |
1813 | | - | |
1814 | | - | |
| 1819 | + | |
| 1820 | + | |
1815 | 1821 | | |
1816 | 1822 | | |
1817 | 1823 | | |
| |||
0 commit comments