Re: [PATCH] fbdev sysfs updates.
From: "Antonino A. Daplas" <adaplas@gmail.com>
Date: 2007-05-03 19:22:17
On Thu, 2007-05-03 at 15:03 +0100, James Simmons wrote:
quoted
On Wed, 2007-05-02 at 20:45 +0100, James Simmons wrote:quoted
Andrew can you try this patch. The goal of the patch is to allow the hardware behind fbdev to be shared with out types of devices i.e backlight, drm, and display. Please give it a try.Any real world examples on how this patch can allow sharing with DRM? I'm not sure if your changelog reflects the content of this patch.DRM would need to be updated to use a child device. The idea is simple. Use the device created with device_create instead of the parent device. The conflict was storing our private data with the parent device. Now it is stored in the child device. Other subsystems already use this approach. The drivers would need to be be cleaned up. Right now they use the parent device to stored fb_info.
What I basically see in this patch, unless I miss something, is moving device code from fbmem.c to fbsysfs.c and the creation of fb_power() hook. I have nothing against the patch in principle, I just think the changelog is not very clear. Tony ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/