Re: [PATCH drm-misc-next v9 01/11] drm/gem: fix lockdep check for dma-resv lock

2023-08-09 Thread Danilo Krummrich
On 8/8/23 09:21, Boris Brezillon wrote: On Thu, 3 Aug 2023 18:52:20 +0200 Danilo Krummrich wrote: When no custom lock is set to protect a GEMs GPUVA list, lockdep checks should fall back to the GEM objects dma-resv lock. With the current implementation we're setting the lock_dep_map of the GE

Re: [PATCH drm-misc-next v9 01/11] drm/gem: fix lockdep check for dma-resv lock

2023-08-08 Thread Boris Brezillon
On Thu, 3 Aug 2023 18:52:20 +0200 Danilo Krummrich wrote: > When no custom lock is set to protect a GEMs GPUVA list, lockdep checks > should fall back to the GEM objects dma-resv lock. With the current > implementation we're setting the lock_dep_map of the GEM objects 'resv' > pointer (in case n

[PATCH drm-misc-next v9 01/11] drm/gem: fix lockdep check for dma-resv lock

2023-08-03 Thread Danilo Krummrich
When no custom lock is set to protect a GEMs GPUVA list, lockdep checks should fall back to the GEM objects dma-resv lock. With the current implementation we're setting the lock_dep_map of the GEM objects 'resv' pointer (in case no custom lock_dep_map is set yet) on drm_gem_private_object_init().