Re: [PATCH] drm: Fix sysfs device confusion.

2009-08-21 Thread Thomas Hellström
Dave Airlie wrote: On Thu, Aug 20, 2009 at 5:52 PM, Thomas Hellstromthellst...@vmware.com wrote: The drm sysfs class suspend / resume methods could not distinguish between different device types wich could lead to illegal type casts. Use struct device_type and make sure the class

[PATCH] drm: Fix sysfs device confusion.

2009-08-20 Thread Thomas Hellstrom
The drm sysfs class suspend / resume methods could not distinguish between different device types wich could lead to illegal type casts. Use struct device_type and make sure the class suspend / resume callbacks are aware of those. There is no per device-type suspend / resume. Only new-style PM.

Re: [PATCH] drm: Fix sysfs device confusion.

2009-08-20 Thread Dave Airlie
On Thu, Aug 20, 2009 at 5:52 PM, Thomas Hellstromthellst...@vmware.com wrote: The drm sysfs class suspend / resume methods could not distinguish between different device types wich could lead to illegal type casts. Use struct device_type and make sure the class suspend / resume callbacks are

[PATCH] drm: Fix sysfs device confusion.

2009-08-17 Thread Thomas Hellstrom
The drm sysfs class suspend / resume methods could not distinguish between different device types wich could lead to illegal type casts. Use struct device_type and make sure the class suspend / resume callbacks are aware of those. There is no per device-type suspend / resume. Only new-style PM.

Re: [PATCH] drm: Fix sysfs device confusion.

2009-08-17 Thread Jesse Barnes
On Mon, 17 Aug 2009 10:25:44 +0200 Thomas Hellstrom thellst...@vmware.com wrote: The drm sysfs class suspend / resume methods could not distinguish between different device types wich could lead to illegal type casts. Use struct device_type and make sure the class suspend / resume callbacks