]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/cirrus: correct register values for 16bpp
authorTakashi Iwai <tiwai@suse.de>
Mon, 16 Dec 2013 23:44:51 +0000 (10:44 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 16 Dec 2013 23:44:51 +0000 (10:44 +1100)
commit4e91b5bf5f5565697a3ae543c398480380eb10b7
treef0f9512fec00403503922c5070e773b7a8dd8911
parentb6b4e427eb4578ad941323723b20e0031e5c0e35
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