Commit 3692aba
drm/ast: Fix modeset failed on DisplayPort
If we switch display and update cursor together, it could lead to
modeset failed because of concurrent access to IO registers.
Add lock protection in DP's edid access to avoid this problem.
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Jammy Huang <jammy_huang@aspeedtech.com>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230601004847.1115-1-jammy_huang@aspeedtech.com1 parent bed61c8 commit 3692aba
1 file changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1647 | 1647 | | |
1648 | 1648 | | |
1649 | 1649 | | |
| 1650 | + | |
| 1651 | + | |
1650 | 1652 | | |
1651 | 1653 | | |
1652 | 1654 | | |
| |||
1655 | 1657 | | |
1656 | 1658 | | |
1657 | 1659 | | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
1658 | 1666 | | |
1659 | 1667 | | |
1660 | | - | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
1661 | 1671 | | |
1662 | 1672 | | |
1663 | 1673 | | |
1664 | 1674 | | |
1665 | 1675 | | |
1666 | 1676 | | |
1667 | 1677 | | |
1668 | | - | |
| 1678 | + | |
| 1679 | + | |
1669 | 1680 | | |
1670 | 1681 | | |
1671 | 1682 | | |
| |||
0 commit comments