Skip to content

drm/i915/display: Try YCbCr420 color when RGB fails

Werner Sembach dri-devel intel-gfx lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest3 patches 1 replyIn review
  2. v63 patches 5 repliesSuperseded
  3. v13 patches 0 repliesSuperseded

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/i915/display: New function to avoid duplicate code in upcomming commitsdrivers/gpu/drm/i915/display/intel_hdmi.c+27 -150 replies
2/3drm/i915/display: Restructure output format computation for better expandabilitydrivers/gpu/drm/i915/display/intel_hdmi.c+35 -310 replies
3/3drm/i915/display: Use YCbCr420 as fallback when RGB failsdrivers/gpu/drm/i915/display/intel_hdmi.c+22 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v7 yet.

Read the v7 thread

Cover letter [PATCH v7 0/3] drm/i915/display: Try YCbCr420 color when RGB fails

When encoder validation of a display mode fails, retry with less bandwidth heavy YCbCr420 color mode, if available. This enables some HDMI 1.4 setups to support 4k60Hz output, which previously failed silently.

AMDGPU had nearly the exact same issue. This problem description is therefore copied from my commit message of the AMDGPU patch.

On some setups, while the monitor and the gpu support display modes with pixel clocks of up to 600MHz, the link encoder might not. This prevents YCbCr444 and RGB encoding for 4k60Hz, but YCbCr420 encoding might still be possible. However, which color mode is used is decided before the link encoder capabilities are checked. This patch fixes the problem by retrying to find a display mode with YCbCr420 enforced and using it, if it is valid.

This patchset is revision 7. Fixed a rebase issue in 1/3 and moved message from error output to debug output in 2/3.

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx