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: NVille Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: NSean Paul <seanpaul@chromium.org> Link: http://patchwork.freedesktop.org/patch/msgid/1469549224-1860-2-git-send-email-ville.syrjala@linux.intel.com
Showing
想要评论请 注册 或 登录