[PATCH 00/22] Handle BPC for HDMI2.1 PCON without DSC1.2 sink and other fixes
Ankit Nautiyal
ankit.k.nautiyal at intel.com
Thu Jul 20 09:11:48 UTC 2023
This series fixes issues faced when an HDMI2.1 sink that does not
support DSC is connected via HDMI2.1PCON. It also includes other minor
HDMI2.1 PCON fixes/refactoring.
Patch 1-2 Have minor fixes/cleanups.
Patch 3-6 Pull the decision making to use DFP conversion capabilities
for every mode during compute config, instead of having that decision
during DP initializing phase.
Patch 7-8 Calculate the max BPC that can be sufficient with either
RGB or YCbcr420 format for the maximum FRL rate supported.
Rev2: Split the refactoring of DFP RG->YCBCR conversion into smaller
patches, as suggested by Jani N.
Also dropped the unnecessary helper for DSC1.2 support for HDMI2.1 DFP.
Rev3: As suggested by Ville, added new member sink_format to store the
final format that the sink will be using, which might be different
than the output format, and thus might need color/format conversion
performed by the PCON.
Rev4: Fix typo in switch case as, reported by kernel test bot.
Rev5: Corrected order of setting sink_format and output_format. (Ville)
Avoided the flag ycbcr420_output and used the sink_format to facilitate
4:2:2 support at a later stage. (Ville)
Rev6: Added missing changes for sdvo. (Ville)
Added check for scaler and DSC constraints with YCbCr420.
Rev7: Split change to add scaler constraint in separate patch, and rebased.
Rev8: Rebased. Fixed check for mode rate with dsc in modevalid.
Fixed scaler constraint as per display version.
Rev9: Rebased.
Rev10: Addressed review comments from Ville.
Dropped patch to check for mode rate with dsc during modevalid, as the
compressed bpp is already selected with bandwidth considerations.
Rev11: Fixed the policy to use output format as RGB first if possible,
followed by YCbCr444, atlast YCbCr420. Also removed the scaler-constraints
with YCbCr420, as these are handled in scaler code. (Ville)
Rev12: Added a patch for configuring PCON to convert output_format to
YCBCR444. Added patch to have consistent naming for link bpp and
compressed bpp.
Rev13: Rebased, minor fixes.
Rev14: Rebased, after few patches merged, added other DSC fixes.
Rev15: Added patch to check if forced output format can be supported.
Ankit Nautiyal (21):
drm/i915/dp: Fix FRL BW check for HDMI2.1 DFP
drm/i915/dp: Add a wrapper to check frl/tmds downstream constraints
drm/i915/dp: Consider output_format while computing dsc bpp
drm/i915/dp: Move compressed bpp check with 420 format inside the
helper
drm/i915/dp_mst: Use output_format to get the final link bpp
drm/i915/dp: Use consistent name for link bpp and compressed bpp
drm/i915/dp: Update Bigjoiner interface bits for computing compressed
bpp
drm/i915/display: Account for DSC not split case while computing cdclk
drm/i915/intel_cdclk: Add vdsc with bigjoiner constraints on min_cdlck
drm/i915/dp: Remove extra logs for printing DSC info
drm/display/dp: Fix the DP DSC Receiver cap size
drm/i915/dp: Avoid forcing DSC BPC for MST case
drm/i915/dp: Add functions to get min/max src input bpc with DSC
drm/i915/dp: Check min bpc DSC limits for dsc_force_bpc also
drm/i915/dp: Avoid left shift of DSC output bpp by 4
drm/i915/dp: Rename helper to get DSC max pipe_bpp
drm/i915/dp: Separate out functions for edp/DP for computing DSC bpp
drm/i915/dp: Add DSC BPC/BPP constraints while selecting pipe bpp with
DSC
drm/i915/dp: Separate out function to get compressed bpp with joiner
drm/i915/dp: Get optimal link config to have best compressed bpp
drm/i915/dp: Check if force_dsc_output_format is possible
Stanislav Lisovskiy (1):
drm/i915: Query compressed bpp properly using correct DPCD and DP Spec
info
drivers/gpu/drm/i915/display/intel_cdclk.c | 63 +-
drivers/gpu/drm/i915/display/intel_dp.c | 725 ++++++++++++++----
drivers/gpu/drm/i915/display/intel_dp.h | 20 +-
drivers/gpu/drm/i915/display/intel_dp_mst.c | 80 +-
drivers/gpu/drm/i915/display/intel_vdsc.c | 12 +
drivers/gpu/drm/i915/display/intel_vdsc.h | 2 +
.../drm/i915/display/skl_universal_plane.c | 4 +-
include/drm/display/drm_dp.h | 2 +-
8 files changed, 685 insertions(+), 223 deletions(-)
--
2.40.1
More information about the Intel-gfx-trybot
mailing list