drm/mgag200: Add missing write to index before accessing data register
authorChristopher Harvey <charvey@matrox.com>
Fri, 31 May 2013 20:33:07 +0000 (20:33 +0000)
committerDave Airlie <airlied@gmail.com>
Mon, 3 Jun 2013 09:21:07 +0000 (19:21 +1000)
commit91f8f105f2b82b4a38dee2d74760bc39d40ec42c
tree40c8745c307c1036b81e785cd37c9a1a7591563f
parentb06f6a9d06f4b0fa38bd3e32714106d824470813
drm/mgag200: Add missing write to index before accessing data register

This is a bug fix for some versions of g200se cards while doing
mode-setting.

Signed-off-by: Christopher Harvey <charvey@matrox.com>
Tested-by: Julia Lemire <jlemire@matrox.com>
Acked-by: Julia Lemire <jlemire@matrox.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@gmail.com>
drivers/gpu/drm/mgag200/mgag200_mode.c