From: Florian Tobias Schandinat Date: Mon, 23 May 2011 21:39:58 +0000 (+0000) Subject: viafb: use display information in info not in var for panning X-Git-Tag: v3.2-rc1~120^2~12^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d933990c57b498c092ceef591c7c5d69dbfe9f30;p=pandora-kernel.git viafb: use display information in info not in var for panning As Laurent pointed out we must not use any information in the passed var besides xoffset, yoffset and vmode as otherwise applications might abuse it. Also use the aligned fix.line_length and not the (possible) unaligned xres_virtual. Signed-off-by: Florian Tobias Schandinat Reported-by: Laurent Pinchart Acked-by: Laurent Pinchart Cc: stable@kernel.org --- Reading git-diff-tree failed