]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/display: move min_hblank from dp_mst.c to dp.c
authorArun R Murthy <arun.r.murthy@intel.com>
Thu, 24 Apr 2025 15:15:15 +0000 (20:45 +0530)
committerImre Deak <imre.deak@intel.com>
Wed, 30 Apr 2025 19:08:16 +0000 (22:08 +0300)
commitc53372dfb630e8b047a3c6677e62ffb6fda2752c
tree0cfeb398d7a51193727d5b0e1adb7c9d3bbdb9ae
parent7d585426a6538a717f55a1bb0b614d465bd03805
drm/i915/display: move min_hblank from dp_mst.c to dp.c

Minimum HBlank is programmed to address jitter for high resolutions with
high refresh rates that have small Hblank, specifically where Hblank is
smaller than one MTP.

TODO: Add the min_hblank calculation for hdmi as well.

v2: move from intel_audio.c to intel_dp.c
    some correction in link_bpp_x16 (Imre)
v3: min_hblank for 8b/10b MST and 128b/132b SST/MST
    handle error for intel_dp_mst_dsc_get_slice_count
    reset min_hblank before disabling transcoder (Imre)
v4: compute link_bpp_x16 within compute_min_hblank,
    return error in case of compute failure
    call compute_min_hblank() before vrr_compute_config (Imre)
v5: readout MIN_HBLAN reg for Xe3+

Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://lore.kernel.org/r/20250424-hblank-v7-2-8b002f1506cc@intel.com
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_dp.h
drivers/gpu/drm/i915/display/intel_dp_mst.c