[PATCH 08/15] gma500: revamp frame buffer creation and handling

2011-06-08 Thread Alan Cox
From: Alan Cox Restructure this to work the same way as the i915 frame buffer does. That cleans up various chunks of code. We can now set a mode in modetest but mode restore is a bit iffy Signed-off-by: Alan Cox --- drivers/staging/gma500/psb_2d.c | 13 +-- drivers/staging/gma500/psb_fb.c

[PATCH 08/15] gma500: revamp frame buffer creation and handling

2011-06-08 Thread Alan Cox
From: Alan Cox Restructure this to work the same way as the i915 frame buffer does. That cleans up various chunks of code. We can now set a mode in modetest but mode restore is a bit iffy Signed-off-by: Alan Cox --- drivers/staging/gma500/psb_2d.c | 13 +-- drivers/staging/gma500/psb_fb.c