From: Thomas Hellstrom Date: Thu, 9 Feb 2012 15:56:47 +0000 (+0100) Subject: drm/vmwgfx: Treat out-of-range initial width and height as host errors X-Git-Tag: v3.4-rc1~143^2~93^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67d4a87b0a6bf7225aacc2c14e3542ec2f6b803f;p=pandora-kernel.git drm/vmwgfx: Treat out-of-range initial width and height as host errors And assign the initial width and height to the minimum in that case. Strange values (-1) from these registers have been reported by users. Signed-off-by: Thomas Hellstrom Reviewed-by: Jakob Bornecrantz Signed-off-by: Dave Airlie --- Reading git-diff-tree failed