[PATCH] drm/xe: Check result of drmm_mutex_init()

Lucas De Marchi lucas.demarchi at intel.com
Wed Apr 24 22:38:54 UTC 2024


On Wed, Apr 10, 2024 at 08:50:27AM GMT, Lucas De Marchi wrote:
>On Wed, Apr 10, 2024 at 09:58:45AM +0530, Ghimiray, Himal Prasad wrote:
>>
>>On 09-04-2024 23:31, Lucas De Marchi wrote:
>>>On Tue, Apr 09, 2024 at 05:31:32PM +0200, Michal Wajdeczko wrote:
>>>>Although it's unlikely that drmm_mutex_init() will fail during
>>>>driver initialization, however we shouldn't ignore this case.
>>>>
>>>>Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
>>>
>>>there was already a patch pending for this, but got stuck because it was
>>>trying to do something similar for all the display mutexes, that
>>>shouldn't be there in the first place. Not sure if we take that one with
>>>conflict resolved or this.
>>
>>
>>
>>If the patch mentioned is 
>>https://patchwork.freedesktop.org/series/131300/, it does not 
>>resolve the mutex mentioned above.
>
>https://lore.kernel.org/all/buobxdew2jnbfblawfvnzwntexvhxkslqstsgp3xsxpexdtdem@gwnlli47tdkc/

since there were no updates to that patch, I went ahead and applied this
one to drm-xe-next, after adding the missing blank line.

[1/1] drm/xe: Check result of drmm_mutex_init()
       commit: cbf7579304c234208569d767355cc39c0665bd5b

thanks
Lucas De Marchi


More information about the Intel-xe mailing list