]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/pfit: Check pipe source size against pfit limits on ILK-BDW
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 16 Oct 2024 14:31:26 +0000 (17:31 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 23 Oct 2024 15:18:05 +0000 (18:18 +0300)
commitb82adfca1969e885d971577c57c5444494447e87
treebd5281599eaacfedb634bb8a2d8df567b8af0227
parent7a118f68fa828ee7b13e639353895118ef2056d7
drm/i915/pfit: Check pipe source size against pfit limits on ILK-BDW

The ILK-BDW panel fitter imposes extra limits on the maximum
pipe source size we can use. Check for that.

Only HSW/BDW are really affected by this since on older platforms
the max hdisplay/vdisplay matches the max PIPESRC. But we'll
put in the limits for all the platforms just to keep things
clear.

Note that pch_panel_fitting() is also used on SKL+, but we'll
skip the checks for those as it's all supposed to be handled
in the unified scaler code.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241016143134.26903-2-ville.syrjala@linux.intel.com
Acked-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_panel.c