From: sagar.a.kamble@intel.com Subject: [PATCH v2 4/4] Documentation: drm: describing plane alpha and color blending property Date: Tue, 25 Mar 2014 20:02:27 +0530 Message-ID: <1395757947-16492-4-git-send-email-sagar.a.kamble@intel.com> References: <20140320135151.GO6912@strange.amr.corp.intel.com> <1395757947-16492-1-git-send-email-sagar.a.kamble@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <1395757947-16492-1-git-send-email-sagar.a.kamble@intel.com> Sender: linux-doc-owner@vger.kernel.org To: intel-gfx@lists.freedesktop.org Cc: Sagar Kamble , rob@landley.net, airlied@redhat.com, daniel.vetter@ffwll.ch, laurent.pinchart@ideasonboard.com, dh.herrmann@gmail.com, alexander.deucher@amd.com, ville.syrjala@linux.intel.com, vijay.a.purushothaman@intel.com, linux-doc@vger.kernel.org, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org =46rom: Sagar Kamble v2: Added description for "src-color" and "constant-alpha" property. Cc: Rob Landley Cc: Dave Airlie Cc: Daniel Vetter Cc: Laurent Pinchart Cc: David Herrmann Cc: Alex Deucher Cc: "Ville Syrj=C3=A4l=C3=A4" Cc: Sagar Kamble Cc: "Purushothaman, Vijay A" Cc: linux-doc at vger.kernel.org Cc: dri-devel at lists.freedesktop.org Signed-off-by: Sagar Kamble --- Documentation/DocBook/drm.tmpl | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/Documentation/DocBook/drm.tmpl b/Documentation/DocBook/drm= =2Etmpl index 104402a..77a45fb 100644 --- a/Documentation/DocBook/drm.tmpl +++ b/Documentation/DocBook/drm.tmpl @@ -2253,6 +2253,14 @@ void intel_crt_init(struct drm_device *dev) enumerated bits defined by the property. + DRM_MODE_PROP_32BIT_PAIR + This flag restricts Bitmask properties restr= icts all + enumerated values to the 0..31 range. + During get operation instance values combine one or more o= f the + enumerated bits defined by the property. During get user c= an specify + {type, value} pair. + + DRM_MODE_PROP_BLOB Blob properties store a binary blob without = any format restriction. The binary blobs are created as KMS standalon= e objects, @@ -2336,7 +2344,7 @@ void intel_crt_init(struct drm_device *dev) DRM - Generic + Generic =E2=80=9CEDID=E2=80=9D BLOB | IMMUTABLE 0 @@ -2351,6 +2359,19 @@ void intel_crt_init(struct drm_device *dev) Contains DPMS operation mode value. + =E2=80=9Cblend=E2=80=9D + BITMASK | 32BIT_PAIR + { {0, "zero"}, {1, "one"}, {2, "src-color"}, {3, = "one-minus-src-color"} + , {4, "dst-color"}, {5, "one-minus-dst-color"}, {6, "src-alpha"}, {7,= "one-minus-src-alpha"}, {8, "dst-alpha"} + , {9, "one-minus-dst-alpha"}, {10, "constant-color"}, {11, "one-minus= -constant-color"}, {12, "constant-alpha"} + , {13, "one-minus-constant-alpha"}, {14, "alpha-saturate"} } + Plane + Contains plane alpha/color blending operation val= ues. These are modeled after glBlendFunc API + in OpenGL. Currently only "src-color" and "constant-alpha" are suppor= ted. "src-color" will consider supplied fb + with plane's pixel format as input without any additional color/alpha= changes."constant-alpha" will apply constant + transparency to all pixels in addition to source color. + + DVI-I =E2=80=9Csubconnector=E2=80=9D ENUM --=20 1.8.5