]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
viafb: use proper register for colour when doing fill ops
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Wed, 22 Sep 2010 02:33:52 +0000 (02:33 +0000)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Fri, 24 Sep 2010 02:15:29 +0000 (02:15 +0000)
commitefd4f6398dc92b5bf392670df862f42a19f34cf2
tree39353b3be2570eaf20de28af3490b10dd540a219
parent47eb1d841790082d2fb4bc7a83c81e0a84a30a9e
viafb: use proper register for colour when doing fill ops

The colour was written to a wrong register for fillrect operations.
This sometimes caused empty console space (for example after 'clear')
to have a different colour than desired. Fix this by writing to the
correct register.
Many thanks to Daniel Drake and Jon Nettleton for pointing out this
issue and pointing me in the right direction for the fix.

Fixes http://dev.laptop.org/ticket/9323

Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: Joseph Chan <JosephChan@via.com.tw>
Cc: Daniel Drake <dsd@laptop.org>
Cc: Jon Nettleton <jon.nettleton@gmail.com>
Cc: stable@kernel.org
drivers/video/via/accel.c