drm/ast: Fix HW cursor image
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 7 Oct 2014 08:04:58 +0000 (19:04 +1100)
committerDave Airlie <airlied@redhat.com>
Tue, 7 Oct 2014 23:05:29 +0000 (09:05 +1000)
commit1e99cfa8de0f0879091e33cd65fd60418d006ad9
treee541a7d090ccbd89074571d429674ab4742e6e01
parent46d987af7649ef9b2f1d1467b9249fb6e24d2658
drm/ast: Fix HW cursor image

The translation from the X driver to the KMS one typo'ed a couple
of array indices, causing the HW cursor to look weird (blocky with
leaking edge colors). This fixes it.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ast/ast_mode.c