[RFC PATCH 3/3] drm/log: Introduce a new boot logger to draw the kmsg on the screen
Jocelyn Falempe
jfalempe at redhat.com
Fri Sep 6 16:29:13 UTC 2024
On 06/09/2024 10:47, John Ogness wrote:
> On 2024-09-06, John Ogness <john.ogness at linutronix.de> wrote:
>> Your device_lock()/device_unlock() callbacks probably just need to
>> lock/unlock your mutex @drm_log_lock.
>
> Sorry, forgot to mention that the device_lock() callback must also
> disable migration. Since you are using a mutex, you will need to
> manually do that as well...
>
> mutex_lock(&drm_log_lock);
> migrate_disable();
Thanks a lot, I've done most of the conversion, and it's already working
great. I will send a new series next week.
Best regards,
--
Jocelyn
>
> John
>
More information about the dri-devel
mailing list