I merged this one to drm-misc-next-fixes. > Cc: > Fixes: 7edc3e3b975b5 ("drm: Add helpers for locking an array of BO reservations.") > Reviewed-by: Thomas Hellström > Signed-off-by: Dmitry Osipenko ANNOTATE GEM DRIVERThe ww_acquire_context needs to be > annotated as "released", which fixes the noisy "WARNING: held lock freed!" > splat of VirtIO-GPU driver with CONFIG_DEBUG_MUTEXES=y and enabled lockdep. Otherwise lockdep > thinks that lock is held when lock's memory is freed after the > drm_gem_lock_reservations() error. ANNOTATE GEM CODE> Use ww_acquire_fini() in the error code paths. On Thu, at 11:04:04PM +0300, Dmitry Osipenko wrote: X-Spam-Checker-Version: SpamAssassin 3.4.6 () onĭaniel Vetter Aug. T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,ĭKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, =?utf-8?q?Christian_K=C3=B6nig?=, =?utf-8?q?Thom?=Ĭc: Osipenko drm/gem: Properly annotate WW context on OUOTbjzq/KaSgL4Mscn圆ANgIg9v5bUUrMIp1++NEbsyOWpiNZ/P2tKnfy9JpUFgV7 Z+bEhhoA4OiLA8Jpb5BgouG8icauonG7SrKTUnII34RigUIG+RCcoZSugCTgV/IrPy WK1+u3wMeb7HUgtDnAydupo1fnTyiM+t8YEf6C6LHUs3LqkKiBPU0LjgKbJYQWhU0R OZoMmND3Suw/SkhTu1krlX0+ClE/nke8PC0nyp4S4SHXTcr+tCn+m/9A1xlkkiI2p0 H=From:To:Cc:Subject:Date:In-Reply-To:References:From ī=GdilAPDMiQL2cL9J6NfgbXiDGvtR3aTAgsa6i/2P28x3LXUBV8BnYibscyqslf2No Key-exchange X25519 server-signature RSA-PSS (4096 bits)īy .uk (Postfix) with ESMTPSA id A469D6601970 ĭKIM-Signature: v=1 a=rsa-sha256 c=relaxed/simple d= īh=7圆AJ+nAU7oVPHACGhPnUxGYHzyBq1CqfYXDnLu1/Bc= Received: from .uk (.ukīy (Postfix) with ESMTPS id 18C46443D9 Received: from ( )īy (Postfix) with ESMTP id 4LYq723lXlz9sG2 Spf=pass (sender SPF authorized) smtp.mailfrom= Unprotected) header.d= header.s=mail header.b=GdilAPDM
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |