mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 12:35:52 +02:00
Merge tag 'drm-intel-fixes-2025-04-17' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-fixes
drm/i915 fixes for v6.15-rc3: - Fix DP DSC configurations that require 3 DSC engines per pipe Signed-off-by: Dave Airlie <airlied@redhat.com> From: Jani Nikula <jani.nikula@intel.com> Link: https://lore.kernel.org/r/87fri7p8tp.fsf@intel.com
This commit is contained in:
commit
9025588cbf
|
|
@ -161,6 +161,7 @@ struct intel_display_platforms {
|
|||
#define HAS_DPT(__display) (DISPLAY_VER(__display) >= 13)
|
||||
#define HAS_DSB(__display) (DISPLAY_INFO(__display)->has_dsb)
|
||||
#define HAS_DSC(__display) (DISPLAY_RUNTIME_INFO(__display)->has_dsc)
|
||||
#define HAS_DSC_3ENGINES(__display) (DISPLAY_VERx100(__display) == 1401 && HAS_DSC(__display))
|
||||
#define HAS_DSC_MST(__display) (DISPLAY_VER(__display) >= 12 && HAS_DSC(__display))
|
||||
#define HAS_FBC(__display) (DISPLAY_RUNTIME_INFO(__display)->fbc_mask != 0)
|
||||
#define HAS_FBC_DIRTY_RECT(__display) (DISPLAY_VER(__display) >= 30)
|
||||
|
|
|
|||
|
|
@ -1050,10 +1050,11 @@ u8 intel_dp_dsc_get_slice_count(const struct intel_connector *connector,
|
|||
u8 test_slice_count = valid_dsc_slicecount[i] * num_joined_pipes;
|
||||
|
||||
/*
|
||||
* 3 DSC Slices per pipe need 3 DSC engines,
|
||||
* which is supported only with Ultrajoiner.
|
||||
* 3 DSC Slices per pipe need 3 DSC engines, which is supported only
|
||||
* with Ultrajoiner only for some platforms.
|
||||
*/
|
||||
if (valid_dsc_slicecount[i] == 3 && num_joined_pipes != 4)
|
||||
if (valid_dsc_slicecount[i] == 3 &&
|
||||
(!HAS_DSC_3ENGINES(display) || num_joined_pipes != 4))
|
||||
continue;
|
||||
|
||||
if (test_slice_count >
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user