]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/cirrus: correct register values for 16bpp
authorTakashi Iwai <tiwai@suse.de>
Wed, 19 Jun 2013 00:05:25 +0000 (10:05 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:12:40 +0000 (17:12 +1000)
commit0b97e9faac1d943a49c73d0ae8214dd39a38e683
treeaddfeb9bc6077ad9bcecfcabd57439898d831e90
parentff83eedbb144efb4d62c22b70f1b4534a1425536
drm/cirrus: correct register values for 16bpp

When the mode is set with 16bpp on QEMU, the output gets totally broken.
The culprit is the bogus register values set for 16bpp, which was likely
copied from from a wrong place.

Addresses https://bugzilla.novell.com/show_bug.cgi?id=799216

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: David Airlie <airlied@linux.ie>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/gpu/drm/cirrus/cirrus_mode.c