All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Prune unsupported modes as per HDMI2.1 spec
@ 2022-05-09  9:31 ` Ankit Nautiyal
  0 siblings, 0 replies; 12+ messages in thread
From: Ankit Nautiyal @ 2022-05-09  9:31 UTC (permalink / raw)
  To: intel-gfx; +Cc: dri-devel

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-05-12  5:02 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-09  9:31 [PATCH 0/2] Prune unsupported modes as per HDMI2.1 spec Ankit Nautiyal
2022-05-09  9:31 ` [Intel-gfx] " 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

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.