]> 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)
commit59833d3721fef21c95b77d27ca41eed90a79c191
tree8d4b90a8391a99ec724f9b004da015768788f783
parentc91150c18696f4414e1041a916f5f7b2d4564825
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