dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Swati Sharma <swati2.sharma@intel.com>
To: dri-devel@lists.freedesktop.org
Cc: vidya.srinivas@intel.com, juhapekka.heikkila@gmail.com,
	daniel.vetter@ffwll.ch, intel-gfx@lists.freedesktop.org,
	mahesh1.kumar@intel.com, Swati Sharma <swati2.sharma@intel.com>
Subject: [PATCH 2/4] drm/i915: Add Y210, Y212, Y216 plane control definitions
Date: Mon, 27 Aug 2018 12:17:46 +0530	[thread overview]
Message-ID: <1535352468-4451-3-git-send-email-swati2.sharma@intel.com> (raw)
In-Reply-To: <1535352468-4451-1-git-send-email-swati2.sharma@intel.com>

From: Vidya Srinivas <vidya.srinivas@intel.com>

Added needed plane control flag definitions for Y210, Y212 and
Y216 formats.

Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
Signed-off-by: Vidya Srinivas <vidya.srinivas@intel.com>
---
 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 8534f88..926e42d 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
+++ b/drivers/gpu/drm/i915/i915_reg.h
@@ -6504,6 +6504,9 @@ enum {
 #define   PLANE_CTL_FORMAT_RGB_565		(14 << 24)
 #define   ICL_PLANE_CTL_FORMAT_MASK		(0x1f << 23)
 #define   PLANE_CTL_PIPE_CSC_ENABLE		(1 << 23) /* Pre-GLK */
+#define   PLANE_CTL_FORMAT_Y210			(1 << 23)
+#define   PLANE_CTL_FORMAT_Y212			(3 << 23)
+#define   PLANE_CTL_FORMAT_Y216			(5 << 23)
 #define   PLANE_CTL_KEY_ENABLE_MASK		(0x3 << 21)
 #define   PLANE_CTL_KEY_ENABLE_SOURCE		(1 << 21)
 #define   PLANE_CTL_KEY_ENABLE_DESTINATION	(2 << 21)
-- 
1.9.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2018-08-27  6:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-27  6:47 [PATCH 0/4] Enable Y210, Y212, Y216 formats for ICL Swati Sharma
2018-08-27  6:47 ` [PATCH 1/4] drm: Add Y210, Y212, Y216 format definitions and fourcc Swati Sharma
2018-08-27  7:17   ` Kumar, Mahesh
2018-08-27  7:50     ` Kumar, Mahesh
2018-08-28 10:21   ` Alexandru-Cosmin Gheorghe
2018-08-27  6:47 ` Swati Sharma [this message]
2018-08-27  7:21   ` [PATCH 2/4] drm/i915: Add Y210, Y212, Y216 plane control definitions Kumar, Mahesh
2018-08-27  6:47 ` [PATCH 3/4] drm/i915: Preparations for enabling Y210, Y212, Y216 formats Swati Sharma
2018-08-27  7:54   ` Kumar, Mahesh
2018-08-27  6:47 ` [PATCH 4/4] drm/i915: Enable Y210, Y212, Y216 format for primary and sprite planes Swati Sharma
2018-08-27  7:59   ` Kumar, Mahesh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1535352468-4451-3-git-send-email-swati2.sharma@intel.com \
    --to=swati2.sharma@intel.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=juhapekka.heikkila@gmail.com \
    --cc=mahesh1.kumar@intel.com \
    --cc=vidya.srinivas@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).