summaryrefslogtreecommitdiffstats
path: root/drivers/staging/gma500/mrst_device.c
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2011-07-05 15:39:50 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-07-05 08:20:41 -0700
commit80f51c32c4b52e88c192de8471135dbbd158cc13 (patch)
tree8704b9d260b4f1ad7cd1057b0f55557eb920af2a /drivers/staging/gma500/mrst_device.c
parent71138b7f0735d277f71f0d7ba1918c8922f12cce (diff)
downloadop-kernel-dev-80f51c32c4b52e88c192de8471135dbbd158cc13.zip
op-kernel-dev-80f51c32c4b52e88c192de8471135dbbd158cc13.tar.gz
gma500: add more ops
Split the 2d properties, name, and various function vectors out so that we can get rid of more conditional gloop in favour of a per device structure. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/gma500/mrst_device.c')
-rw-r--r--drivers/staging/gma500/mrst_device.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/staging/gma500/mrst_device.c b/drivers/staging/gma500/mrst_device.c
index daeeb18..79cd784 100644
--- a/drivers/staging/gma500/mrst_device.c
+++ b/drivers/staging/gma500/mrst_device.c
@@ -352,6 +352,11 @@ static int mrst_power_up(struct drm_device *dev)
}
const struct psb_ops mrst_chip_ops = {
+ .name = "Moorestown",
+ .accel_2d = 1,
+ .crtc_helper = &mrst_helper_funcs,
+ .crtc_funcs = &psb_intel_crtc_funcs,
+
.output_init = mrst_output_init,
#ifdef CONFIG_BACKLIGHT_CLASS_DEVICE
OpenPOWER on IntegriCloud