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

Lucas De Marchi lucas.demarchi at intel.com
Wed Apr 10 13:50:27 UTC 2024


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/

Lucas De Marchi


More information about the Intel-xe mailing list