From: Eric Anholt Subject: Re: RFC: IOCTL to label BO in DRM Core Date: Thu, 12 Sep 2019 10:57:13 -0700 Message-ID: <87a7b9l7nq.fsf@anholt.net> References: <2944062.7iTOG62oOJ@solembum> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1855979864==" Return-path: Received: from anholt.net (anholt.net [50.246.234.109]) by gabe.freedesktop.org (Postfix) with ESMTP id 096936EDE5 for ; Thu, 12 Sep 2019 17:57:15 +0000 (UTC) In-Reply-To: <2944062.7iTOG62oOJ@solembum> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Rohan Garg , dri-devel List-Id: dri-devel@lists.freedesktop.org --===============1855979864== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Rohan Garg writes: > [ Unknown signature status ] > Hi > I'm investigating a way to label BO's in panfrost, similar to how VC4 doe= s it=20 > and realised that this could be something that's might be useful to all=20 > drivers. > > With that in mind, would anyone be opposed to add a DRM_IOCTL_BO_SET_LABE= L in=20 > DRM core that can be utilised by all drivers to label BO's? I would love to see something shared. msm has an object labeling interface as well. vc4's had some overengineering due to wanting to keep a bucketed-by-name usage list so we could dump that when we ran out of memory or from debugfs. I think something much simpler would be better. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE/JuuFDWp9/ZkuCBXtdYpNtH8nugFAl16hvkACgkQtdYpNtH8 nugljw//d2xJIoDtT6TG5T1noSoe0QHtkF9rxJlCZfwo6LOmJinUSHfr+GErIK24 f7yYFxPngicw5OFlKM941sjCcd2w8HnX63HsTedRnqoxDFUrKhRjWylKIN8MIuCF tZT48wqJjT6OGP9oc2GYV+8W8rlDMolMqcct1chcJB0MPl0FlfiCCT2duMRrGWpy gN3d6LzO2abhGg0woF03xCbgYi3/ZyZ5f8MvyNTRWOimkxx2f4u4U9DgjxevXeXW nOMZ8tAhdzkfWpDjl9m/q3Dj1QfMnW+eSpYhQYgkIHDaylVPEnxbNJxJ0OE0OA0W 0yKIdPLTc0CkuA7Bw130+Z2gaky5tKjRYbdM3gn56JbO5eau2dURVsfYUWkI+XfL 3uvb3SWqO+Ebi49X97BXmfOmy6A0/hw71rC8x8kxOlikjAr2kGLPBs5DdqiKnV91 sIH9Jjm8ccvES0udLTXyxcnkUPIIazJVHzPaRhqVVIi7h/AerA8yLDxJ9Y9nrRVP AQsTOpFSEHzS3zNpQpy377MIXP/OfzddEHFxhyVtejHJOIgSe2sZ0MhNzyU69i1C 4hydJJEaYIF9nDMpQ3/sRTh3+d0TfKXnhujt5hn3QKREC8wrg+aJW3fTWaJmz8W+ +idua5jd58l7Vh8FbIAU/Nhizw96U9EwkQ4CK61JFxVbPjH4E7Y= =d1X6 -----END PGP SIGNATURE----- --=-=-=-- --===============1855979864== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1855979864==--