Commit 8e82d11
drm/radeon: add late_register for connector
The patch is to solve null dereference in 'aux.dev', which is
introduced in recent radeon rework. By having 'late_register',
the connector should be registered after 'drm_dev_register'
automatically, where in before it is the opposite.
Fixes: 9098566 ("drm/radeon: remove load callback from kms_driver")
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3665
Tested-by: Hans de Goede <[email protected]>
Suggested-by: Christophe Leroy <[email protected]>
Signed-off-by: Wu Hoi Pok <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
(cherry picked from commit b4c1ad7)1 parent d7d7b94 commit 8e82d11
2 files changed
+19
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
232 | 231 | | |
233 | 232 | | |
234 | | - | |
235 | 233 | | |
236 | 234 | | |
237 | 235 | | |
| |||
242 | 240 | | |
243 | 241 | | |
244 | 242 | | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
| 243 | + | |
| 244 | + | |
250 | 245 | | |
251 | 246 | | |
252 | 247 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1786 | 1786 | | |
1787 | 1787 | | |
1788 | 1788 | | |
| 1789 | + | |
| 1790 | + | |
| 1791 | + | |
| 1792 | + | |
| 1793 | + | |
| 1794 | + | |
| 1795 | + | |
| 1796 | + | |
| 1797 | + | |
| 1798 | + | |
| 1799 | + | |
| 1800 | + | |
| 1801 | + | |
| 1802 | + | |
1789 | 1803 | | |
1790 | 1804 | | |
1791 | 1805 | | |
| |||
1800 | 1814 | | |
1801 | 1815 | | |
1802 | 1816 | | |
| 1817 | + | |
1803 | 1818 | | |
1804 | 1819 | | |
1805 | 1820 | | |
| |||
1810 | 1825 | | |
1811 | 1826 | | |
1812 | 1827 | | |
| 1828 | + | |
1813 | 1829 | | |
1814 | 1830 | | |
1815 | 1831 | | |
| |||
1820 | 1836 | | |
1821 | 1837 | | |
1822 | 1838 | | |
| 1839 | + | |
1823 | 1840 | | |
1824 | 1841 | | |
1825 | 1842 | | |
| |||
0 commit comments