From patchwork Fri Jun 19 15:36:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jilai wang X-Patchwork-Id: 6645771 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: X-Original-To: patchwork-linux-arm-msm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 57F55C0020 for ; Fri, 19 Jun 2015 15:37:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CBA8D2095F for ; Fri, 19 Jun 2015 15:37:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 230FD2094B for ; Fri, 19 Jun 2015 15:37:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754059AbbFSPhX (ORCPT ); Fri, 19 Jun 2015 11:37:23 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:33198 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753885AbbFSPhR (ORCPT ); Fri, 19 Jun 2015 11:37:17 -0400 Received: from smtp.codeaurora.org (localhost [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id D4D721415F3; Fri, 19 Jun 2015 15:37:15 +0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 486) id B46401415F7; Fri, 19 Jun 2015 15:37:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from yyzubuntu29.qualcomm.com (rrcs-67-52-130-30.west.biz.rr.com [67.52.130.30]) (using TLSv1.1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jilaiw@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 182301415F5; Fri, 19 Jun 2015 15:37:13 +0000 (UTC) From: Jilai Wang To: dri-devel@lists.freedesktop.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, robdclark@gmail.com, Jilai Wang Subject: [PATCH 1/3] drm/doc: Add description of drm properties in msm Date: Fri, 19 Jun 2015 11:36:47 -0400 Message-Id: <1434728209-24724-2-git-send-email-jilaiw@codeaurora.org> X-Mailer: git-send-email 1.8.2.1 In-Reply-To: <1434728209-24724-1-git-send-email-jilaiw@codeaurora.org> References: <1434728209-24724-1-git-send-email-jilaiw@codeaurora.org> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add plane properties "premultiplied/zpos/alpha" used in msm MDP driver to perform proper blending operation. Signed-off-by: Jilai Wang --- Documentation/DocBook/drm.tmpl | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/Documentation/DocBook/drm.tmpl b/Documentation/DocBook/drm.tmpl index 109fde8..9dc0940 100644 --- a/Documentation/DocBook/drm.tmpl +++ b/Documentation/DocBook/drm.tmpl @@ -3500,6 +3500,29 @@ void intel_crt_init(struct drm_device *dev) Plane TBD + + msm + Generic + "premultiplied" + RANGE + Min=0, Max=1 + Plane + property to indicate the framebuffer used by this plane is alpha pre-multiplied + + + "alpha" + RANGE + Min=0, Max=255 + Plane + property to set plane's global alpha value + + + "zpos" + RANGE + Min=1, Max=255 + Plane + property to set plane's z position during blending +