summaryrefslogtreecommitdiffstats
path: root/drivers/staging/gma500/mrst_device.c
diff options
context:
space:
mode:
authorAlan Cox2011-07-05 16:39:50 +0200
committerGreg Kroah-Hartman2011-07-05 17:20:41 +0200
commit80f51c32c4b52e88c192de8471135dbbd158cc13 (patch)
tree8704b9d260b4f1ad7cd1057b0f55557eb920af2a /drivers/staging/gma500/mrst_device.c
parentgma500: enable Medfield CRTC support (diff)
downloadkernel-qcow2-linux-80f51c32c4b52e88c192de8471135dbbd158cc13.tar.gz
kernel-qcow2-linux-80f51c32c4b52e88c192de8471135dbbd158cc13.tar.xz
kernel-qcow2-linux-80f51c32c4b52e88c192de8471135dbbd158cc13.zip
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 daeeb18d9273..79cd784b7805 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