From patchwork Thu Mar 27 09:50:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: sagar.a.kamble@intel.com X-Patchwork-Id: 3897161 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8ABC39F334 for ; Thu, 27 Mar 2014 09:53:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A5E3720237 for ; Thu, 27 Mar 2014 09:53:01 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id EDC6B2021C for ; Thu, 27 Mar 2014 09:52:57 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 585B66E885; Thu, 27 Mar 2014 02:52:55 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTP id A42DC6E880; Thu, 27 Mar 2014 02:52:54 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 27 Mar 2014 02:48:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,741,1389772800"; d="scan'208";a="481239619" Received: from sagar-desktop.iind.intel.com ([10.223.82.31]) by orsmga001.jf.intel.com with ESMTP; 27 Mar 2014 02:52:13 -0700 From: sagar.a.kamble@intel.com To: intel-gfx@lists.freedesktop.org Date: Thu, 27 Mar 2014 15:20:45 +0530 Message-Id: <1395913998-31170-1-git-send-email-sagar.a.kamble@intel.com> X-Mailer: git-send-email 1.8.5 In-Reply-To: <1395911183-25500-1-git-send-email-sagar.a.kamble@intel.com> References: <1395911183-25500-1-git-send-email-sagar.a.kamble@intel.com> MIME-Version: 1.0 Cc: linux-doc@vger.kernel.org, dri-devel@lists.freedesktop.org, laurent.pinchart@ideasonboard.com, rob@landley.net, dh.herrmann@gmail.com, alexander.deucher@amd.com, airlied@redhat.com, Sagar Kamble Subject: [Intel-gfx] [PATCH v3 1/1] Documentation: drm: describing plane alpha and color blending property X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Sagar Kamble v2: Added description for "src-color" and "constant-alpha" property. [Review by Laurent Pinchart] v3: Fixed typos. [Review by David Herrmann] Cc: Rob Landley Cc: Dave Airlie Cc: Daniel Vetter Cc: Laurent Pinchart Cc: David Herrmann Cc: Alex Deucher Cc: "Ville Syrjälä" 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.tmpl index 104402a..66386d0 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 all enumerated values of Bitmask properties + to the 0..31 range. + 'get_property' operation will get combination of instance values of one or more of the + enumerated bits defined by the property. With 'set_property' operation, user can specify + {value (MSB 32 bits), type (LSB 32 bits)} pair with 64 bit value for that property. + + DRM_MODE_PROP_BLOB Blob properties store a binary blob without any format restriction. The binary blobs are created as KMS standalone objects, @@ -2336,7 +2344,7 @@ void intel_crt_init(struct drm_device *dev) DRM - Generic + Generic “EDID” BLOB | IMMUTABLE 0 @@ -2351,6 +2359,19 @@ void intel_crt_init(struct drm_device *dev) Contains DPMS operation mode value. + “blend” + 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 values. These are modeled after glBlendFunc API + in OpenGL. Currently only "src-color" and "constant-alpha" are supported. "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 “subconnector” ENUM