Skip to content
Commit 1e1a5f8f authored by Ville Syrjälä's avatar Ville Syrjälä Committed by Sean Paul
Browse files

drm: Warn about negative sizes when calculating scale factor



Passing negative width/hight to scale factor calculations is not
legal. Let's WARN if that happens.

Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: default avatarSean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1469549224-1860-2-git-send-email-ville.syrjala@linux.intel.com
parent 31ad61e4
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