[PATCH] drm/ast: Fix HW cursor image

2014-10-08 Thread YC Chen
Reviewed-by: Y.C. Chen -Original Message- From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] Sent: Tuesday, October 07, 2014 4:05 PM To: Dave Airlie Cc: dri-devel at lists.freedesktop.org; YC Chen Subject: [PATCH] drm/ast: Fix HW cursor image The translation from the X

[PATCH] drm/ast: Fix HW cursor image

2014-10-07 Thread Benjamin Herrenschmidt
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 --- diff --git a/drivers/gpu/drm/ast/ast_mode.c b/drivers/gpu/drm/ast/ast_mode.c index