[RESEND PATCH v5 4/5] drm/bridge/sii8620: fix resource acquisition error handling

Andrzej Hajda a.hajda at samsung.com
Wed Jun 24 13:43:10 UTC 2020


On 24.06.2020 15:25, Mark Brown wrote:
> On Wed, Jun 24, 2020 at 01:41:26PM +0200, Andrzej Hajda wrote:
>> In case of error during resource acquisition driver should print error
>> message only in case it is not deferred probe, using probe_err helper
>> solves the issue. Moreover it records defer probe reason for debugging.
> If we silently ignore all deferred probe errors we make it hard for
> anyone who is experiencing issues with deferred probe to figure out what
> they're missing.  We should at least be logging problems at debug level
> so there's something for people to go on without having to hack the
> kernel source.


But you can always do:

cat /sys/kernel/debug/devices_deferred

And you will find there deferred probe reason (thanks to patch 2/5).

Eventually if you want it in dmesg anyway, one can adjust probe_err 
function to log probe error on debug level as well.


Regards

Andrzej


>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://protect2.fireeye.com/url?k=ef34cf7b-b2ff4845-ef354434-0cc47a31309a-305676031d9eb553&q=1&u=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fdri-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20200624/c9b8d803/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 13168 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20200624/c9b8d803/attachment-0001.gif>


More information about the dri-devel mailing list