From: Hai Lan Date: Wed, 15 Feb 2012 11:07:02 +0000 (+0800) Subject: drm/i915: fix a sprite watermark computation to avoid divide by zero if xpos<0 X-Git-Tag: v3.3-rc6~19^2~4^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e9bb47bd29e02f2daaa7bdb2a8ddf977bf76f06;p=pandora-kernel.git drm/i915: fix a sprite watermark computation to avoid divide by zero if xpos<0 When setting overlay position with x<0, it will divide 0 and make drm driver crash. Signed-off-by: Hai Lan Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed