summaryrefslogtreecommitdiffstats
path: root/drivers/video/via/viamode.h
diff options
context:
space:
mode:
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2011-05-23 21:39:58 +0000
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2011-05-27 18:51:29 +0000
commitd933990c57b498c092ceef591c7c5d69dbfe9f30 (patch)
treef00a2b7fd6e17152b6ed908f5aebd77c00698a05 /drivers/video/via/viamode.h
parent8aa4d96fe3e4cda9a6469b22b3f017ed30996b10 (diff)
downloadblackbird-op-linux-d933990c57b498c092ceef591c7c5d69dbfe9f30.tar.gz
blackbird-op-linux-d933990c57b498c092ceef591c7c5d69dbfe9f30.zip
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/viamode.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud