From patchwork Thu Jun 25 21:36:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jilai wang X-Patchwork-Id: 6677601 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: X-Original-To: patchwork-linux-arm-msm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3A1D39F39B for ; Thu, 25 Jun 2015 21:36:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 45C4A2073D for ; Thu, 25 Jun 2015 21:36:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5C7C52071B for ; Thu, 25 Jun 2015 21:36:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751673AbbFYVge (ORCPT ); Thu, 25 Jun 2015 17:36:34 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:36414 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751589AbbFYVgd (ORCPT ); Thu, 25 Jun 2015 17:36:33 -0400 Received: from smtp.codeaurora.org (localhost [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 68462140655; Thu, 25 Jun 2015 21:36:33 +0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 486) id 5AB97140658; Thu, 25 Jun 2015 21:36:33 +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=-8.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 40417140649; Thu, 25 Jun 2015 21:36:32 +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(V2) Date: Thu, 25 Jun 2015 17:36:24 -0400 Message-Id: <1435268184-7602-1-git-send-email-jilaiw@codeaurora.org> X-Mailer: git-send-email 1.8.2.1 In-Reply-To: References: 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. V1: Initial change V2: Change "premultiplied" property to enum (Rob's comment) 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..d9f5613 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" + ENUM + { "false", "true" } + 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 +