Skip to content
Commit 8565c502 authored by Drew Davenport's avatar Drew Davenport Committed by Rodrigo Vivi
Browse files

drm/i915/display: Check source height is > 0



The error message suggests that the height of the src rect must be at
least 1. Reject source with height of 0.

Cc: stable@vger.kernel.org
Signed-off-by: default avatarDrew Davenport <ddavenport@chromium.org>
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221226225246.1.I15dff7bb5a0e485c862eae61a69096caf12ef29f@changeid
(cherry picked from commit 0fe76b19

)
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent 5dc4c995
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment