From patchwork Thu Aug 16 12:55:20 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: 10567397 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 72E3714E1 for ; Thu, 16 Aug 2018 12:55:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 600392ADE1 for ; Thu, 16 Aug 2018 12:55:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5476A2AEE0; Thu, 16 Aug 2018 12:55:49 +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 11EFE2ADE1 for ; Thu, 16 Aug 2018 12:55:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AF6926E1BD; Thu, 16 Aug 2018 12:55:45 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1D8F06E1BD; Thu, 16 Aug 2018 12:55:45 +0000 (UTC) Received: by mail-pf1-x444.google.com with SMTP id j8-v6so1996983pff.6; Thu, 16 Aug 2018 05:55:45 -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=Jj9qRl2uawxKEOxRXVSkDWUDV6yWXRcW4qDA7aKvlG4=; b=c7wwNK/r3YvkqRmL0qcxV61NTXzO0jP6ulsNUtBIRAneIM8nQZcyRGWwPe77n7X5+Y iSlpQWrS2Uv7v6AhalvE8WGgCJMDx2HQnFkF06+qXwNSt994w5TGRJUF5SozVXR1ki2H F/10t7JizKl0EsNdP0rvbjcT5688tSpXTADM6YClaluETqgmvTqEqaAVvUi7ZCYnuzmR tJNR/kTz2bpajDgcFleADsVwpfP/6B0fftRSl1O6QhME/4Jwub7YDlI/o2u6k3kwiosa yQGc3quAC8qgmktwMswZJ3vL7Td8P2hfp2iUug1ayZf4LCEE5ej3VCHghEacigkh3lkf uomQ== X-Gm-Message-State: AOUpUlHdTzhlgly05ZQSbbP3KQq+gNkHa5y8YUu6oZL2Z94ViZcF2+EI RK7NUe6A+N4e0btpaoHkVBVceX6qv3bCiQ== X-Google-Smtp-Source: AA+uWPxsRgPweGC4CnnrmG3AWMkPeWJl2nIAwpk9CwjsOlzzjiNTV1m/5vITFGf46lpYSrAZBK2keQ== X-Received: by 2002:a62:6cc7:: with SMTP id h190-v6mr32409593pfc.113.1534424144253; Thu, 16 Aug 2018 05:55:44 -0700 (PDT) Received: from jheikkil-mobl.fi.intel.com ([192.55.54.45]) by smtp.gmail.com with ESMTPSA id f6-v6sm39791032pgf.52.2018.08.16.05.55.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 16 Aug 2018 05:55:43 -0700 (PDT) From: Juha-Pekka Heikkila To: intel-gfx@lists.freedesktop.org Date: Thu, 16 Aug 2018 15:55:20 +0300 Message-Id: <1534424122-32209-2-git-send-email-juhapekka.heikkila@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1534424122-32209-1-git-send-email-juhapekka.heikkila@gmail.com> References: <1534424122-32209-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 Reviewed-by: Maarten Lankhorst --- 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 0c9f03d..06d4d90 100644 --- a/drivers/gpu/drm/i915/i915_reg.h +++ b/drivers/gpu/drm/i915/i915_reg.h @@ -6506,8 +6506,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)