Re: [PATCH] drm/msm/a6xx: initialize GMU mutex earlier

2023-04-12 Thread Doug Anderson
Hi, On Mon, Apr 10, 2023 at 9:59 AM Dmitry Baryshkov wrote: > > Move GMU mutex initialization earlier to make sure that it is always > initialized. a6xx_destroy can be called from ther failure path before > GMU initialization. > > This fixes the following backtrace: > > [ cut here ]--

[PATCH] drm/msm/a6xx: initialize GMU mutex earlier

2023-04-10 Thread Dmitry Baryshkov
Move GMU mutex initialization earlier to make sure that it is always initialized. a6xx_destroy can be called from ther failure path before GMU initialization. This fixes the following backtrace: [ cut here ] DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: CPU: 0 PID: 58