]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb2231f7e979fb88e1b3e950340ccc9082e7919bb
tree8d4b90a8391a99ec724f9b004da015768788f783
parent218e2fa30c74739422153543c870a9e2a10c0ff7
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