From: Vidya Srinivas <vidya.srinivas@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: Vidya Srinivas <vidya.srinivas@intel.com>
Subject: [PATCH 7/8] drm/i915: Add NV12 as supported format for primary plane
Date: Tue, 11 Jul 2017 08:56:17 +0530 [thread overview]
Message-ID: <1499743578-17684-8-git-send-email-vidya.srinivas@intel.com> (raw)
In-Reply-To: <1499743578-17684-1-git-send-email-vidya.srinivas@intel.com>
From: Chandra Konduru <chandra.konduru@intel.com>
This patch adds NV12 to list of supported formats for
primary plane
v2: Rebased (Chandra Konduru)
v3: Rebased (me)
v4: Review comments by Ville addressed
Removed the skl_primary_formats_with_nv12 and
added NV12 case in existing skl_primary_formats
v5: Rebased (me)
v6: Missed the Tested-by/Reviewed-by in the previous series
Adding the same to commit message in this version.
Tested-by: Clinton Taylor <clinton.a.taylor@intel.com>
Reviewed-by: Clinton Taylor <clinton.a.taylor@intel.com>
Signed-off-by: Chandra Konduru <chandra.konduru@intel.com>
Signed-off-by: Nabendu Maiti <nabendu.bikash.maiti@intel.com>
Signed-off-by: Vidya Srinivas <vidya.srinivas@intel.com>
---
drivers/gpu/drm/i915/intel_display.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 2fb267d..d86dd64 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -85,6 +85,7 @@ static bool is_mmio_work(struct intel_flip_work *work)
DRM_FORMAT_YVYU,
DRM_FORMAT_UYVY,
DRM_FORMAT_VYUY,
+ DRM_FORMAT_NV12,
};
/* Cursor formats */
@@ -13999,7 +14000,6 @@ void intel_plane_destroy(struct drm_plane *plane)
if (INTEL_GEN(dev_priv) >= 9) {
intel_primary_formats = skl_primary_formats;
num_formats = ARRAY_SIZE(skl_primary_formats);
-
primary->update_plane = skylake_update_primary_plane;
primary->disable_plane = skylake_disable_primary_plane;
} else if (INTEL_GEN(dev_priv) >= 4) {
--
1.9.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2017-07-11 3:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-11 3:26 [PATCH 0/8] Adding NV12 support for SKL display Vidya Srinivas
2017-07-11 3:26 ` [PATCH 1/8] drm-tip: 2017y-07m-10d-20h-48m-19s UTC integration manifest Vidya Srinivas
2017-07-11 3:26 ` [PATCH 2/8] drm/i915: Implement .get_format_info() hook for CCS Vidya Srinivas
2017-07-11 3:26 ` [PATCH 3/8] drm/i915: Add render decompression support Vidya Srinivas
2017-07-11 3:26 ` [PATCH 4/8] drm/i915: Set scaler mode for NV12 Vidya Srinivas
2017-07-11 3:26 ` [PATCH 5/8] drm/i915: Update format_is_yuv() to include NV12 Vidya Srinivas
2017-07-11 3:26 ` [PATCH 6/8] drm/i915: Upscale scaler max scale for NV12 Vidya Srinivas
2017-07-11 3:26 ` Vidya Srinivas [this message]
2017-07-11 3:26 ` [PATCH 8/8] drm/i915: Add NV12 as supported format for sprite plane Vidya Srinivas
2017-07-11 3:38 ` ✗ Fi.CI.BAT: warning for Adding NV12 support for SKL display (rev4) Patchwork
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=1499743578-17684-8-git-send-email-vidya.srinivas@intel.com \
--to=vidya.srinivas@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.