From patchwork Thu Aug 30 12:41:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juha-Pekka Heikkila X-Patchwork-Id: 10581683 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 39AE913AC for ; Thu, 30 Aug 2018 12:41:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2A06B2BD83 for ; Thu, 30 Aug 2018 12:41:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1E5CD2BDC1; Thu, 30 Aug 2018 12:41:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E823E2BD83 for ; Thu, 30 Aug 2018 12:41:53 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 022A66E759; Thu, 30 Aug 2018 12:41:53 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by gabe.freedesktop.org (Postfix) with ESMTPS id 73A046E751; Thu, 30 Aug 2018 12:41:43 +0000 (UTC) Received: by mail-pl1-x632.google.com with SMTP id x6-v6so3785291plv.10; Thu, 30 Aug 2018 05:41:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=LXXe78ZmgfLKZrpBxqqhOJ8NjBLp9vqAO1oibrmIcrk=; b=rj4/avK4QVnz7e3693hDftrQ/BdalaIQr0gs6a6fVQ5MQY9bPhYFkPDnR4ojIQ4IEr M+JMHtF4b7ipc9fRlaGYJf2/dgLAeIyWaNeDS+YnX18yLBFHqvmJiYwnL828Prd7F5th 1KUkTr9OSNaR12HDAIYGCkB/w97UYvFl4bkHonttJDvXL/94hbi4yYPV85sTDwBa32Tp SY2/RbACoqMhzYUXQzykgpLpYMyUFDFLfLSj///SEfhDO5kurG81YqQ8PcvcqvRsu5BT r14R8ZAUP6ctD84EDNu8bqYTenvSDQk+Rsj91qSqm7cTWcSP1Lm1n+C4IzUlZwGZM7hB iuPQ== X-Gm-Message-State: APzg51BGGVcGYT7WQd0IU/mCUEbhUgojDxnjPM4NlXOOEHxl5zVusLKL D4MrvaNBNa719lToVmaeJb3TDtoime2BNQ== X-Google-Smtp-Source: ANB0VdaQ8bs5h2b+fsW+mw1OLA5eCCBu1fgY1absmJm0vsOp9wBDnR7ZdqOn5FBvTel8j7S/LSDiDQ== X-Received: by 2002:a17:902:be07:: with SMTP id r7-v6mr9975592pls.275.1535632902607; Thu, 30 Aug 2018 05:41:42 -0700 (PDT) Received: from jheikkil-mobl.fi.intel.com (fmdmzpr04-ext.fm.intel.com. [192.55.54.39]) by smtp.gmail.com with ESMTPSA id r85-v6sm18344225pfd.144.2018.08.30.05.41.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 30 Aug 2018 05:41:42 -0700 (PDT) From: Juha-Pekka Heikkila To: intel-gfx@lists.freedesktop.org Date: Thu, 30 Aug 2018 15:41:12 +0300 Message-Id: <1535632874-29927-2-git-send-email-juhapekka.heikkila@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1535632874-29927-1-git-send-email-juhapekka.heikkila@gmail.com> References: <1535632874-29927-1-git-send-email-juhapekka.heikkila@gmail.com> Subject: [Intel-gfx] [PATCH 2/4] drm/i915: Add P010, P012, P016 plane control definitions X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dri-devel@lists.freedesktop.org MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP Add needed plane control flag definitions for P010, P012 and P016 formats. Signed-off-by: Juha-Pekka Heikkila --- drivers/gpu/drm/i915/i915_reg.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index f232178..2c959c8 100644 --- a/drivers/gpu/drm/i915/i915_reg.h +++ b/drivers/gpu/drm/i915/i915_reg.h @@ -6497,8 +6497,11 @@ enum { #define PLANE_CTL_FORMAT_YUV422 (0 << 24) #define PLANE_CTL_FORMAT_NV12 (1 << 24) #define PLANE_CTL_FORMAT_XRGB_2101010 (2 << 24) +#define PLANE_CTL_FORMAT_P010 (3 << 24) #define PLANE_CTL_FORMAT_XRGB_8888 (4 << 24) +#define PLANE_CTL_FORMAT_P012 (5 << 24) #define PLANE_CTL_FORMAT_XRGB_16161616F (6 << 24) +#define PLANE_CTL_FORMAT_P016 (7 << 24) #define PLANE_CTL_FORMAT_AYUV (8 << 24) #define PLANE_CTL_FORMAT_INDEXED (12 << 24) #define PLANE_CTL_FORMAT_RGB_565 (14 << 24)