Skip to content

Commit

Permalink
gma500: being abstracting out devices a bit more
Browse files Browse the repository at this point in the history
We really want to move towards a completely abstracted interface rather
than having tons of per chip junk in the same files.

Begin with the power code which is probably the worst offender. Add a set
of methods, initialise a dev_priv->ops pointer and rip the chip specifics
out of the power code. While we are it pick up the display init bits.

So we know it's now chip specifics clean remove the psb_ naming from it.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Alan Cox authored and Greg Kroah-Hartman committed Jul 5, 2011
1 parent bcc70a6 commit 92367fe
Show file tree
Hide file tree
Showing 10 changed files with 847 additions and 538 deletions.
5 changes: 4 additions & 1 deletion drivers/staging/gma500/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
ccflags-y += -Iinclude/drm

psb_gfx-y += gem_glue.o \
power.o \
psb_bl.o \
psb_drv.o \
psb_gem.o \
Expand All @@ -19,11 +20,13 @@ psb_gfx-y += gem_glue.o \
psb_intel_sdvo.o \
psb_lid.o \
psb_mmu.o \
psb_powermgmt.o \
psb_irq.o \
psb_device.o \
mrst_device.o \
mrst_crtc.o \
mrst_lvds.o \
mrst_bios.o \
mdfld_device.o \
mdfld_output.o \
mdfld_pyr_cmd.o \
mdfld_tmd_vid.o \
Expand Down
Loading

0 comments on commit 92367fe

Please sign in to comment.