All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shashank Sharma <shashank.sharma@intel.com>
To: dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org
Subject: [PATCH 15/15] drm/i915/glk: set HDMI 2.0 identifier
Date: Fri,  7 Jul 2017 08:49:21 +0530	[thread overview]
Message-ID: <1499397561-31797-16-git-send-email-shashank.sharma@intel.com> (raw)
In-Reply-To: <1499397561-31797-1-git-send-email-shashank.sharma@intel.com>

This patch sets the is_hdmi2_src identifier in drm connector
for GLK platform. GLK contains a native HDMI 2.0 controller.
This identifier will help the EDID handling functions to save
lot of work which is specific to HDMI 2.0 sources.

V3: Added this patch
V4: Rebase
V4: Rebase
V5: Added r-b from Ander
V6: Rebase

Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Cc: Ander Conselvan de Oliveira <conselvan2@gmail.com>

Reviewed-by: Ander Conselvan de Oliveira <conselvan2@gmail.com>
Signed-off-by: Shashank Sharma <shashank.sharma@intel.com>
---
 drivers/gpu/drm/i915/intel_hdmi.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c
index 2524ac4..d1b1efc 100644
--- a/drivers/gpu/drm/i915/intel_hdmi.c
+++ b/drivers/gpu/drm/i915/intel_hdmi.c
@@ -1922,6 +1922,9 @@ void intel_hdmi_init_connector(struct intel_digital_port *intel_dig_port,
 	connector->doublescan_allowed = 0;
 	connector->stereo_allowed = 1;
 
+	if (IS_GEMINILAKE(dev_priv))
+		connector->ycbcr_420_allowed = true;
+
 	intel_hdmi->ddc_bus = intel_hdmi_ddc_pin(dev_priv, port);
 
 	switch (port) {
-- 
2.7.4

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

  parent reply	other threads:[~2017-07-07  3:19 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-07  3:19 [PATCH 00/15] YCBCR 4:2:0 handling in DRM layer Shashank Sharma
2017-07-07  3:19 ` [PATCH 01/15] drm: handle HDMI 2.0 VICs in AVI info-frames Shashank Sharma
2017-07-07  3:19 ` [PATCH 02/15] drm/edid: complete CEA modedb(VIC 1-107) Shashank Sharma
2017-07-07  3:19 ` [PATCH 03/15] drm/edid: parse sink information before CEA blocks Shashank Sharma
2017-07-07  3:19 ` [PATCH 04/15] drm/edid: cleanup patch for CEA extended-tag macro Shashank Sharma
2017-07-07  3:19 ` [PATCH 05/15] drm/edid: parse YCBCR420 videomodes from EDID Shashank Sharma
2017-07-07  3:19 ` [PATCH 06/15] drm: add helper to validate YCBCR420 modes Shashank Sharma
2017-07-07  3:19 ` [PATCH 07/15] drm/edid: parse ycbcr 420 deep color information Shashank Sharma
2017-07-07  3:19 ` [PATCH 08/15] drm: set output colorspace in AVI infoframe Shashank Sharma
2017-07-09 21:02   ` kbuild test robot
2017-07-07  3:19 ` [PATCH 09/15] drm: add helper functions for YCBCR420 handling Shashank Sharma
2017-07-07  3:19 ` [PATCH 10/15] drm/i915: add config function for YCBCR420 outputs Shashank Sharma
2017-07-07  3:19 ` [PATCH 11/15] drm/i915: prepare scaler for YCBCR420 modeset Shashank Sharma
2017-07-07  3:19 ` [PATCH 12/15] drm/i915: prepare pipe for YCBCR420 output Shashank Sharma
2017-07-07  3:19 ` [PATCH 13/15] drm/i915: prepare csc unit " Shashank Sharma
2017-07-07  3:19 ` [PATCH 14/15] drm/i915: set colorspace for YCBCR420 outputs Shashank Sharma
2017-07-07  3:19 ` Shashank Sharma [this message]
2017-07-07  7:43 ` ✓ Fi.CI.BAT: success for YCBCR 4:2:0 handling in DRM layer 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=1499397561-31797-16-git-send-email-shashank.sharma@intel.com \
    --to=shashank.sharma@intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --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.