Re: [PATCH RFC 30/46] imx-drm: remove separate imx-fbdev

2014-01-08 Thread Russell King - ARM Linux
On Tue, Jan 07, 2014 at 02:49:50PM +0800, Shawn Guo wrote: > On Thu, Jan 02, 2014 at 09:28:19PM +, Russell King wrote: > > @@ -449,6 +458,24 @@ static int imx_drm_driver_load(struct drm_device *drm, > > unsigned long flags) > > } > > } > > > > + /* > > +* All components

Re: [PATCH RFC 30/46] imx-drm: remove separate imx-fbdev

2014-01-06 Thread Shawn Guo
On Thu, Jan 02, 2014 at 09:28:19PM +, Russell King wrote: > @@ -449,6 +458,24 @@ static int imx_drm_driver_load(struct drm_device *drm, > unsigned long flags) > } > } > > + /* > + * All components are now initialised, so setup the fb helper. > + * The fb hel

[PATCH RFC 30/46] imx-drm: remove separate imx-fbdev

2014-01-02 Thread Russell King
Now that we know when the components of the imx-drm subsystem will be initialised, we can move the fbdev helper initialisation and teardown into imx-drm-core. This gives us the required ordering that DRM wants in both driver load and unload methods. We can also stop exporting the imx_drm_device_g