summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/display/intel_crtc.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2023-04-18 20:55:14 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2023-04-20 15:12:43 +0300
commit691248d4135fe3fae64b4ee0676bc96a7fd6950c (patch)
treeef775a758f17bd4b85c38bdce702e833696abff5 /drivers/gpu/drm/i915/display/intel_crtc.h
parent8902a55dfcff7add5d8cc77781ecc311fba8855a (diff)
drm/i915: Check pipe source size when using skl+ scalers
The skl+ scalers only sample 12 bits of PIPESRC so we can't do any plane scaling at all when the pipe source size is >4k. Make sure the pipe source size is also below the scaler's src size limits. Might not be 100% accurate, but should at least be safe. We can refine the limits later if we discover that recent hw is less restricted. Cc: stable@vger.kernel.org Tested-by: Ross Zwisler <zwisler@google.com> Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/8357 Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230418175528.13117-2-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_crtc.h')
0 files changed, 0 insertions, 0 deletions