From: Eric Anholt Subject: Re: [PATCH 5/6] drm/doc: diagram for mode objects and properties Date: Tue, 28 Feb 2017 15:40:15 -0800 Message-ID: <87fuix3mw0.fsf@eliezer.anholt.net> References: <20170228171319.1786-1-daniel.vetter@ffwll.ch> <20170228171319.1786-6-daniel.vetter@ffwll.ch> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1824918510==" Return-path: Received: from anholt.net (anholt.net [50.246.234.109]) by gabe.freedesktop.org (Postfix) with ESMTP id 849DA6E839 for ; Tue, 28 Feb 2017 23:40:28 +0000 (UTC) In-Reply-To: <20170228171319.1786-6-daniel.vetter@ffwll.ch> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: linux-doc@vger.kernel.org Cc: Manasi Navare , Daniel Vetter , Laurent Pinchart , DRI Development List-Id: dri-devel@lists.freedesktop.org --===============1824918510== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain Daniel Vetter writes: > Resulted in confusion a few times in the past. > > Cc: Laurent Pinchart > Cc: Manasi Navare > Signed-off-by: Daniel Vetter > --- > Documentation/gpu/drm-kms.rst | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > > diff --git a/Documentation/gpu/drm-kms.rst b/Documentation/gpu/drm-kms.rst > index 17a4cd5b14fd..20378881445f 100644 > --- a/Documentation/gpu/drm-kms.rst > +++ b/Documentation/gpu/drm-kms.rst > +The base structure for all KMS objects is :c:type:`struct drm_mode_object > +`. One of the base services is provides is tracking properties, "it provides"? > +which are especially important for the atomic IOCTL (see `Atomic Mode > +Setting`_). The somewhat surprising part here is that properties are not > +directly instantiated on each object, but free-standing mode objects themselves, > +represented by :c:type:`struct drm_property `, which only specify > +the type and value range of a property. Any given property can be attached > +multiple times to different objects using :c:func:`drm_object_attach_property() > +`. > + --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE/JuuFDWp9/ZkuCBXtdYpNtH8nugFAli2Cl8ACgkQtdYpNtH8 nuhMAQ//XBOX5kIBAhiAI2M4Vgpn3rPBbG3Wpk65JJBVogMjqkmA0jB3sWE81wZw HVixFkrBggLD8pH69ZlBdnMsLxGVFt9JU8mOxonNH3FhrIDbZ2rJuhDSi4TgzZY9 GLEF+4eS+AYGVOu7pNBigdzGtrnlRV6ZH0pBx4xYrIGUUaXWH/n28jZhLngh6+y5 WJS6tAwoCLBMm+xCj4pAxt2FMT7sPpdSIrlUTm18xWqmdRHdO8BL0pt2/fc02Hfj AQhvx+7uZv2Klu4cVJPHJZqF+tQu3rJ1ZdAU7sFvTkNwErECDkzx/YcjnEcQpXw1 W4Ft6SrG686moMhsI23lrZzumgML1LRsJB99kZ9M4cwEFiP4S9pxNfZCH4XVqUpZ M7faEDbrVl7QQjmAF4tlN+/xGxbFIOE/Shd0SyFJlt18Bl2KY9nzOKrnau07cPsN izS7jva0Uwaw1bbUcJOEs2BQKr2PI1KxZSyfbTzevpglVH1/ZNOG7DTgDQnQCyqz KhVjjKGoYZcayG5MxFU0fVF6bTyG/eNEDiLaLfqMoWAp4UXvUqUie0IaRPhVxq4u g+q3QDuUlCyxPt4t1KxY0X/EKlPj/MVuHrFg3pNq1GahIKnJU3BeKoyix5A7YePT 2otpQrw+s4d/f9KiAxg8NgXBrpydJ07wXGg6rIK5a34ou+vjTAg= =Qfdn -----END PGP SIGNATURE----- --=-=-=-- --===============1824918510== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1824918510==--