gma500: introduce some register maps
authorAlan Cox <alan@linux.intel.com>
Fri, 11 May 2012 10:30:53 +0000 (11:30 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 11 May 2012 16:35:49 +0000 (17:35 +0100)
commit8512e0748729a49d9af6693f920c1b432796fa8d
tree8d4b90a8391a99ec724f9b004da015768788f783
parentf693dfb72db94cedd5fd2f788b4f2a7c814476de
gma500: introduce some register maps

All the conditional ugly register selection really wants to be
cleaned up. Use a struct describing each pipe and its registers.

This will also let us hide some of the oddments between platforms
for any future merging of bits together. In particular the way the
DPLL and FP registers randomly wander around.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/gma500/cdv_device.c
drivers/gpu/drm/gma500/mdfld_device.c
drivers/gpu/drm/gma500/oaktrail_device.c
drivers/gpu/drm/gma500/psb_device.c
drivers/gpu/drm/gma500/psb_drv.h