summaryrefslogtreecommitdiff
path: root/drivers/video/via/via_modesetting.h
diff options
context:
space:
mode:
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2011-05-23 21:39:58 (GMT)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2011-05-27 18:51:29 (GMT)
commitd933990c57b498c092ceef591c7c5d69dbfe9f30 (patch)
treef00a2b7fd6e17152b6ed908f5aebd77c00698a05 /drivers/video/via/via_modesetting.h
parent8aa4d96fe3e4cda9a6469b22b3f017ed30996b10 (diff)
downloadlinux-d933990c57b498c092ceef591c7c5d69dbfe9f30.tar.xz
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 <FlorianSchandinat@gmx.de> Reported-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Cc: stable@kernel.org
Diffstat (limited to 'drivers/video/via/via_modesetting.h')
0 files changed, 0 insertions, 0 deletions