Commit 83f67ba
committed
drm/tegra: Use dev_err_probe()
Replace dev_printk() with a generic dev_err_probe() helper which silences
noisy error messages about deferred probe and makes easy to debug failing
deferred probe by printing notification about the failure to KMSG in the
end of kernel booting process and by adding failing device and the reason
of deferred probe to devices_deferred of debugfs. This was proven to be
useful in the case of eDP driver regression by immediately showing why
display driver was failing when user asked for help, otherwise it would've
been much more difficult to debug such problems on a third party device
that doesn't have developer setup.
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>1 parent b63a263 commit 83f67ba
2 files changed
Lines changed: 12 additions & 35 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3236 | 3236 | | |
3237 | 3237 | | |
3238 | 3238 | | |
3239 | | - | |
3240 | | - | |
3241 | | - | |
3242 | | - | |
3243 | | - | |
3244 | | - | |
3245 | | - | |
3246 | | - | |
3247 | | - | |
3248 | | - | |
| 3239 | + | |
| 3240 | + | |
| 3241 | + | |
3249 | 3242 | | |
3250 | 3243 | | |
3251 | 3244 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1776 | 1776 | | |
1777 | 1777 | | |
1778 | 1778 | | |
1779 | | - | |
1780 | 1779 | | |
1781 | 1780 | | |
1782 | 1781 | | |
| |||
1818 | 1817 | | |
1819 | 1818 | | |
1820 | 1819 | | |
1821 | | - | |
1822 | | - | |
1823 | | - | |
1824 | | - | |
1825 | | - | |
1826 | | - | |
1827 | | - | |
1828 | | - | |
| 1820 | + | |
| 1821 | + | |
| 1822 | + | |
1829 | 1823 | | |
1830 | 1824 | | |
1831 | 1825 | | |
1832 | | - | |
1833 | | - | |
1834 | | - | |
1835 | | - | |
1836 | | - | |
1837 | | - | |
1838 | | - | |
1839 | | - | |
| 1826 | + | |
| 1827 | + | |
| 1828 | + | |
1840 | 1829 | | |
1841 | 1830 | | |
1842 | 1831 | | |
1843 | | - | |
1844 | | - | |
1845 | | - | |
1846 | | - | |
1847 | | - | |
1848 | | - | |
1849 | | - | |
1850 | | - | |
| 1832 | + | |
| 1833 | + | |
| 1834 | + | |
1851 | 1835 | | |
1852 | 1836 | | |
1853 | 1837 | | |
| |||
0 commit comments