Re: [PATCH] drm/syncobj: make lockdep complain on WAIT_FOR_SUBMIT v2

From: Christian König
Date: Tue Jan 19 2021 - 05:26:09 EST


Am 19.01.21 um 11:05 schrieb Peter Zijlstra:
On Tue, Jan 19, 2021 at 10:46:53AM +0100, Christian König wrote:
But I'm going to double check if drm_syncobj_fence_add_wait() isn't used
elsewhere as well.
drm_syncobj_array_wait_timeout()

Which is why I asked.. :-)

Ok, good point as well. But this isn't driver interface and rather IOCTL implementation.

So if we hold any locks there it is our own stupidity. Going to add the appropriate annotation anyway.

Thanks,
Christian.