Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

+4 -1
+4 -1
drivers/gpu/drm/i915/display/intel_dp.c
··· 1315 1315 int num_joined_pipes) 1316 1316 { 1317 1317 struct drm_i915_private *i915 = dp_to_i915(intel_dp); 1318 + int hdisplay_limit; 1318 1319 1319 1320 if (!intel_dp_has_joiner(intel_dp)) 1320 1321 return false; 1321 1322 1322 1323 num_joined_pipes /= 2; 1323 1324 1325 + hdisplay_limit = DISPLAY_VER(i915) >= 30 ? 6144 : 5120; 1326 + 1324 1327 return clock > num_joined_pipes * i915->display.cdclk.max_dotclk_freq || 1325 - hdisplay > num_joined_pipes * 5120; 1328 + hdisplay > num_joined_pipes * hdisplay_limit; 1326 1329 } 1327 1330 1328 1331 int intel_dp_num_joined_pipes(struct intel_dp *intel_dp,