From patchwork Thu Mar 24 10:03:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Deepak M X-Patchwork-Id: 8659291 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id BC5C29F3D1 for ; Thu, 24 Mar 2016 10:04:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AB2B9203B6 for ; Thu, 24 Mar 2016 10:04:08 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 3C0A3203B4 for ; Thu, 24 Mar 2016 10:04:03 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4BB316E950; Thu, 24 Mar 2016 10:04:01 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id 619576E950 for ; Thu, 24 Mar 2016 10:03:58 +0000 (UTC) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP; 24 Mar 2016 03:03:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,384,1455004800"; d="scan'208";a="674895712" Received: from mdeepakubuntudesk01-desktop.iind.intel.com ([10.223.26.119]) by FMSMGA003.fm.intel.com with ESMTP; 24 Mar 2016 03:03:57 -0700 From: Deepak M To: intel-gfx@lists.freedesktop.org Date: Thu, 24 Mar 2016 15:33:53 +0530 Message-Id: <1458813835-7626-1-git-send-email-m.deepak@intel.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Cc: Deepak M , David Airlie , Thierry Reding , Daniel Vetter Subject: [Intel-gfx] [PATCH 1/3] drm: Add new DCS commands in the enum list X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 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.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_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 Adding new DCS commands which are specified in the DCS 1.3 spec related to CABC. Cc: Thierry Reding Cc: David Airlie Cc: Ville Syrjälä Cc: Daniel Vetter Suggested-by: Jani Nikula Signed-off-by: Deepak M Reviewed-by: Jani Nikula --- include/video/mipi_display.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/video/mipi_display.h b/include/video/mipi_display.h index ddcc8ca..bb8195b 100644 --- a/include/video/mipi_display.h +++ b/include/video/mipi_display.h @@ -117,6 +117,14 @@ enum { MIPI_DCS_GET_SCANLINE = 0x45, MIPI_DCS_READ_DDB_START = 0xA1, MIPI_DCS_READ_DDB_CONTINUE = 0xA8, + MIPI_DCS_GET_DISPLAY_BRIGHTNESS = 0x52, + MIPI_DCS_GET_CABC_MIN_BRIGHTNESS = 0x5F, + MIPI_DCS_GET_POWER_SAVE = 0x56, + MIPI_DCS_GET_CONTROL_DISPLAY = 0x54, + MIPI_DCS_SET_DISPLAY_BRIGHTNESS = 0x51, + MIPI_DCS_SET_CABC_MIN_BRIGHTNESS = 0x5E, + MIPI_DCS_WRITE_POWER_SAVE = 0x55, + MIPI_DCS_WRITE_CONTROL_DISPLAY = 0x53, }; /* MIPI DCS pixel formats */