From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Packard Subject: Re: Proposal for RandR version 1.6, Leases and EDID-based output grabs Date: Mon, 03 Apr 2017 09:41:34 -0700 Message-ID: <86d1ctigu9.fsf@hiro.keithp.com> References: <86fuhrka4t.fsf@hiro.keithp.com> <20170402154302.zd7nmqf7vtcvgssu@phenom.ffwll.local> <86y3viinti.fsf@hiro.keithp.com> <20170403074528.c7vwoi3mg7yeojdr@phenom.ffwll.local> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1393787809==" Return-path: In-Reply-To: <20170403074528.c7vwoi3mg7yeojdr-dv86pmgwkMBes7Z6vYuT8azUEOm+Xw19@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: xorg-devel-bounces-go0+a7rfsptAfugRpC6u6w@public.gmane.org Sender: "xorg-devel" Cc: xorg-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, Daniel Vetter List-Id: dri-devel@lists.freedesktop.org --===============1393787809== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Daniel Vetter writes: > Hm, if you restrict getresources and getplanes, you'll get your leased > objects query api. Iirc that part was missing in your kernel patch. And it > gives you exaclty what you want: per-type list of object ids. Hrm. I think that's one Dave didn't want to restrict so that applications don't see resources disappear and get confused. But, perhaps a simple variant of those instead of a completely different API. > This changes with atomic - without properties you can't change anything > using atomic. Otoh maybe we just want to add checks on the containing > object for now, That's what is already in place -- property setting is always relative to the containing resource, so we don't need any specific controls on the properties themselves unless we wanted to restrict queries, which doesn't seem necessary. =2D-=20 =2Dkeith --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEw4O3eCVWE9/bQJ2R2yIaaQAAABEFAljiez4ACgkQ2yIaaQAA ABGMVBAAly/fedHI08pBkzbbocog9Pj62WLROSmso5HQt6hJ0D2GhRdOzN6mdTIR i92f5VZzGmg6AHMTdpjsdk5THYfx9NWJTSrnRwz4u/U1Zf9hDS5X5oTMJmLT1t7a fezl8a29grzdYvS13vFvVBvZu9BekVXr+bRyGq/WrmJrU4zgZQfvRoQoAWrd3E2u hstIc6BEUFFsvVn4+7GZfF6lZM0kLfTJyN9SP/VOxxkGrNLyFRdf7xbz7aD1zTCf E8A2t63MuFW1xzmsBQkSDiIuUJiY+N0XEN8Zy63mtIUUXHZ9FCf76myyu/FXKS2x XHa8QdpF1KFigiO/KuXnbdWOdwANnBSijGOTgBznh2lY66vain2leIEC3YZAxFGI RzTL2W3zX5XDT/+ca9faLKBm5Wl37dfccshGTcMsefjOSzIhM601jnyLDOXohYRA Avwrk1CuP+A02AYbfXzFBwvSeoh4yYnm6Kh5t6gIeh5HOPH4kDt+tww87TiDB7PK qghk0KHXiguRZvZyQ/Qq172Mq10PlBA/cSoNRIrn6GDk2JB2CiRQ8Lor/JdLK1xk u7EFewi49VZDb+v5sLWubuR9jdkIo1dK6gK3SHh37XskJaQTWiuxDkCQtnzB/ua5 MhB+5G4r530oK7clqEENhSI9ab4RyQ0C1Svs6olKgaPjd719Wvg= =AYBx -----END PGP SIGNATURE----- --=-=-=-- --===============1393787809== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KeG9yZy1kZXZl bEBsaXN0cy54Lm9yZzogWC5PcmcgZGV2ZWxvcG1lbnQKQXJjaGl2ZXM6IGh0dHA6Ly9saXN0cy54 Lm9yZy9hcmNoaXZlcy94b3JnLWRldmVsCkluZm86IGh0dHBzOi8vbGlzdHMueC5vcmcvbWFpbG1h bi9saXN0aW5mby94b3JnLWRldmVs --===============1393787809==--