Re: dealock in drm_fb_helper_damage_work

From: Dmitry Osipenko
Date: Sun Nov 13 2022 - 17:55:30 EST


On 11/13/22 23:48, Dmitry Vyukov wrote:
>> Hi,
>>
>> I am getting the following deadlock on reservation_ww_class_mutex
>> while trying to boot next-20221111 kernel:
> The code is recently added by this commit:
>
> commit 79e2cf2e7a193473dfb0da3b9b869682b43dc60f
> Author: Dmitry Osipenko <dmitry.osipenko@xxxxxxxxxxxxx>
> Date: Mon Oct 17 20:22:11 2022 +0300
> drm/gem: Take reservation lock for vmap/vunmap operations

Thanks for the report. I reproduced this problem using bochs driver,
will send the fix ASAP.

--
Best regards,
Dmitry