All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Subject: [PATCH 0/2] Prune unsupported modes as per HDMI2.1 spec
Date: Mon,  9 May 2022 15:01:28 +0530	[thread overview]
Message-ID: <20220509093130.3511032-1-ankit.k.nautiyal@intel.com> (raw)

Modes like 4K100, 4K120, 8K50, 8K60 need FRL and/or DSC from source.
Since FRL and DSC are not currently supported natively by intel
platforms (are supported only via DP-HDMI2.1 PCONs), these modes must
be pruned as per spec.
Currently these modes are not getting pruned as we check the TMDS clock,
which passes some of these with YCbCr420 format and with lower bpc.
This causes failures during compliance test (e.g. HFR1-67).

This patch prunes the modes, if FRL, DSC not supported, or the support
requirement not met as per the spec.
Although the spec mentions 4K100, 4K120, 8K50, and 8K60 video timings,
I have used the check for clock >= 2376 MHz (or 1188 MHz with 420
format), instead of using individual VICs.

While at it, fix a bug while parsing the compressed bpc supported
from edid.

Ankit Nautiyal (2):
  drm/edid: Fix minimum bpc supported with DSC1.2 for HDMI sink
  drm/i915/hdmi: Prune unsupported modes as per HDMI2.1 spec

 drivers/gpu/drm/drm_edid.c                |  3 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c | 48 +++++++++++++++++++++++
 2 files changed, 50 insertions(+), 1 deletion(-)

-- 
2.25.1


WARNING: multiple messages have this Message-ID (diff)
From: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Subject: [Intel-gfx] [PATCH 0/2] Prune unsupported modes as per HDMI2.1 spec
Date: Mon,  9 May 2022 15:01:28 +0530	[thread overview]
Message-ID: <20220509093130.3511032-1-ankit.k.nautiyal@intel.com> (raw)

Modes like 4K100, 4K120, 8K50, 8K60 need FRL and/or DSC from source.
Since FRL and DSC are not currently supported natively by intel
platforms (are supported only via DP-HDMI2.1 PCONs), these modes must
be pruned as per spec.
Currently these modes are not getting pruned as we check the TMDS clock,
which passes some of these with YCbCr420 format and with lower bpc.
This causes failures during compliance test (e.g. HFR1-67).

This patch prunes the modes, if FRL, DSC not supported, or the support
requirement not met as per the spec.
Although the spec mentions 4K100, 4K120, 8K50, and 8K60 video timings,
I have used the check for clock >= 2376 MHz (or 1188 MHz with 420
format), instead of using individual VICs.

While at it, fix a bug while parsing the compressed bpc supported
from edid.

Ankit Nautiyal (2):
  drm/edid: Fix minimum bpc supported with DSC1.2 for HDMI sink
  drm/i915/hdmi: Prune unsupported modes as per HDMI2.1 spec

 drivers/gpu/drm/drm_edid.c                |  3 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c | 48 +++++++++++++++++++++++
 2 files changed, 50 insertions(+), 1 deletion(-)

-- 
2.25.1


             reply	other threads:[~2022-05-09  9:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-09  9:31 Ankit Nautiyal [this message]
2022-05-09  9:31 ` [Intel-gfx] [PATCH 0/2] Prune unsupported modes as per HDMI2.1 spec Ankit Nautiyal
2022-05-09  9:31 ` [PATCH 1/2] drm/edid: Fix minimum bpc supported with DSC1.2 for HDMI sink Ankit Nautiyal
2022-05-09  9:31   ` [Intel-gfx] " Ankit Nautiyal
2022-05-09  9:31 ` [PATCH 2/2] drm/i915/hdmi: Prune unsupported modes as per HDMI2.1 spec Ankit Nautiyal
2022-05-09  9:31   ` [Intel-gfx] " Ankit Nautiyal
2022-05-10  7:01   ` Ville Syrjälä
2022-05-10  7:01     ` [Intel-gfx] " Ville Syrjälä
2022-05-12  5:02     ` Nautiyal, Ankit K
2022-05-12  5:02       ` [Intel-gfx] " Nautiyal, Ankit K
2022-05-09 19:06 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork
2022-05-10  4:20 ` [Intel-gfx] ✓ Fi.CI.IGT: " 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=20220509093130.3511032-1-ankit.k.nautiyal@intel.com \
    --to=ankit.k.nautiyal@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.