mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-08 11:41:37 -04:00
drm/i914/xe3lpd: Increase bigjoiner limitations
With 6k resolution support for a single crtc being added bigjoiner will only come into picture when hdisplay > 6144 Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com> Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241028074333.182041-4-suraj.kandpal@intel.com
This commit is contained in:
@@ -1315,14 +1315,17 @@ bool intel_dp_needs_joiner(struct intel_dp *intel_dp,
|
||||
int num_joined_pipes)
|
||||
{
|
||||
struct drm_i915_private *i915 = dp_to_i915(intel_dp);
|
||||
int hdisplay_limit;
|
||||
|
||||
if (!intel_dp_has_joiner(intel_dp))
|
||||
return false;
|
||||
|
||||
num_joined_pipes /= 2;
|
||||
|
||||
hdisplay_limit = DISPLAY_VER(i915) >= 30 ? 6144 : 5120;
|
||||
|
||||
return clock > num_joined_pipes * i915->display.cdclk.max_dotclk_freq ||
|
||||
hdisplay > num_joined_pipes * 5120;
|
||||
hdisplay > num_joined_pipes * hdisplay_limit;
|
||||
}
|
||||
|
||||
int intel_dp_num_joined_pipes(struct intel_dp *intel_dp,
|
||||
|
||||
Reference in New Issue
Block a user