From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Keith Packard" Subject: Re: [PATCH RFC 05/24] Revert "drm: Nerf the preclose callback for modern drivers" Date: Thu, 31 May 2018 11:04:29 -0700 Message-ID: <87po1bhfbm.fsf@keithp.com> References: <20180519065243.27600-1-yuq825@gmail.com> <20180519065243.27600-6-yuq825@gmail.com> <874lj0u7fn.fsf@anholt.net> <20180523090439.GS3438@phenom.ffwll.local> <20180524075134.GA3438@phenom.ffwll.local> <87zi0hhv0l.fsf@anholt.net> <87po1br9wu.fsf@anholt.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1579476536==" Return-path: Received: from elaine.keithp.com (home.keithp.com [63.227.221.253]) by gabe.freedesktop.org (Postfix) with ESMTP id 162836E503 for ; Thu, 31 May 2018 18:04:31 +0000 (UTC) In-Reply-To: <87po1br9wu.fsf@anholt.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Eric Anholt , Qiang Yu Cc: Simon Shields , Marek Vasut , Connor Abbott , Neil Armstrong , Andrei Paulau <7134956@gmail.com>, dri-devel , Vasily Khoruzhick , Erico Nunes List-Id: dri-devel@lists.freedesktop.org --===============1579476536== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eric Anholt writes: > Just wait for all tasks to complete when any object is freed? That's > going to be bad for performance. Or are you saying that you already > have the connection between the task and its objects (and, if so, why > aren't you just doing refcounting correctly through that path?) How about wait on close of the DRM device? =2D-=20 =2Dkeith --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEw4O3eCVWE9/bQJ2R2yIaaQAAABEFAlsQOS0ACgkQ2yIaaQAA ABHqow/9FdHRKvuhk9Mw8IvPu1Y4nnEtLhqsxi9mDw6ioB/f721rnpo62YMJwXzn vK8wXIe+izaeH1wGbizuE+N/eEU728tnAqWVzduVii4yKHvxyebLd/1wi5/bN0At sCnVjjkB3dhBTtAILWuDKdXyxKoKGh5pV94AQsbLPDXx3uIgCEt+xxAElpTOPjcp vFjpsriy8lFnF6mFhg/fAa1jxMXHE/ZmxKa+JnmCU4zZ7kKzqiGzul4M0oVkuSvN 2K5SQ+h5BFcvJ6NTS93+XgmC4sMtWEemFYZIxHh6kEOdF8+1egLQK7eRsFgL372r Jn7xlXyA6bhpI3meZq9DSWTjf52TN0TPo8SWzOxbWRKII2RoHaGGX5YO8ftDJIZ3 j3OjuOlf29Xtzx8TutqEq1FrQSeBporvUNcQmr5S5M2apPamA7hUrmcpvqhVrD6R TZKwbX0fnQKFc7qRcxFLLH5UntrH+Af65kTrP00GLsXId/Q8Jby+9PglFwwpkMaX tL3PZ9H3z29+D1MWc7elucdi3/YIFNON+cVo5AMdhi8Z1eS3MzYXihleO0Z3vFPn 9ZoXtqXFj1xVHta3Rbea0oeDmTqxMCo97Fu1TGzABfNj5SjkVVs1efiFPZM/AwwP B5OLGQgR/sGmv2XlX7KPy0z64zT2hauM9FXtDe0rKTzHelOdtlo= =szce -----END PGP SIGNATURE----- --=-=-=-- --===============1579476536== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1579476536==--