From patchwork Tue Jun 12 11:16:36 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: 10460065 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 372F1602A0 for ; Tue, 12 Jun 2018 11:17:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 145A2286DE for ; Tue, 12 Jun 2018 11:17:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0962F286E2; Tue, 12 Jun 2018 11:17:08 +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=ham 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 C9C42286DE for ; Tue, 12 Jun 2018 11:17:07 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C2C676E4A7; Tue, 12 Jun 2018 11:17:06 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-pl0-x229.google.com (mail-pl0-x229.google.com [IPv6:2607:f8b0:400e:c01::229]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9DA456E4A7 for ; Tue, 12 Jun 2018 11:17:05 +0000 (UTC) Received: by mail-pl0-x229.google.com with SMTP id az12-v6so14179172plb.8 for ; Tue, 12 Jun 2018 04:17:05 -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=zL/6BK12aQJrnyr9lrRgkyUpjqL+mr+jKv2onz1oBYo=; b=b6Cte3hWyCCzHtHQL1ycnAxqJbcstnEXfUUag/HsYvWOunAGa2luiSQ+FNLmwvBuB8 tfZ8tED04WwVVOVYGTaLfLu5AWfli7ddrHaoezQIYnl6Ma9aga1GU3eyNbPpdv83/uOj p+x5aGy7gaE5M2YOt/FRW/fAlVshof8ZMYACii37pPFyasKrFf7FklkRejY0OxvjYUSM z+6S3Xa/3E4xbttYLEzvW5/Ytb0vl0OY98/BTxRLs1/Z2LHfDmUNksD4ltrgB/rxhJFo islfta1Sn4ZlGU+v0Bm9CbokDg+SZyTLRhH+xiCs7Eb5rxDIMNhHkaQDxfelA1h4pWyO NhDQ== X-Gm-Message-State: APt69E2511vcVDIbFaZdj9E2h3cv8Q/s8fzP5iY1ZhfK7mhxtJtCHKMP rIHEGp4H91ysHIF8mq3rACFbhg== X-Google-Smtp-Source: ADUXVKICMGPSfsEvwhTpfD+KBnB1VEEZZDg/cv98GK47Ae3u9SQK13GNOHlBH2W+dnil1NoOGkRu2g== X-Received: by 2002:a17:902:d716:: with SMTP id w22-v6mr3617520ply.98.1528802224914; Tue, 12 Jun 2018 04:17:04 -0700 (PDT) Received: from jheikkil-mobl.fi.intel.com ([192.55.54.44]) by smtp.gmail.com with ESMTPSA id s19-v6sm1677550pfe.97.2018.06.12.04.17.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 Jun 2018 04:17:04 -0700 (PDT) From: Juha-Pekka Heikkila To: intel-gfx@lists.freedesktop.org Date: Tue, 12 Jun 2018 14:16:36 +0300 Message-Id: <1528802198-856-3-git-send-email-juhapekka.heikkila@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1528802198-856-1-git-send-email-juhapekka.heikkila@gmail.com> References: <1528802198-856-1-git-send-email-juhapekka.heikkila@gmail.com> Subject: [Intel-gfx] [PATCH v2 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: , 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 987def2..9add270 100644 --- a/drivers/gpu/drm/i915/i915_reg.h +++ b/drivers/gpu/drm/i915/i915_reg.h @@ -6378,8 +6378,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)