I'm revoking this patch. A replacement will be posted.

Thomas Hellstrom wrote:
> This code wraps the struct device so that the drm class callbacks can
> differentiate between different types of drm sysfs devices. It fixes a
> case where a struct drm_connecor is cast to a struct drm_minor in the
> drm_sysfs[suspend|resume] code.
>
> It also opens up for adding driver-specific device entries to the drm
> sysfs class, where the struct device need not be embedded within a
> struct drm_minor. A new include "drm_sysfs.h" is added so that drivers
> don't need to include the full drmP.h to access this feature.
>
> Signed-off-by: Thomas Hellstrom <thellst...@vmware.com>
> ---
>  drivers/gpu/drm/drm_sysfs.c |  134 ++++++++++++++++++++++++++++--------------
>  include/drm/drmP.h          |    3 +-
>  include/drm/drm_crtc.h      |    3 +-
>  include/drm/drm_sysfs.h     |   37 ++++++++++++
>  4 files changed, 130 insertions(+), 47 deletions(-)
>  create mode 100644 include/drm/drm_sysfs.h
>
> diff --git a/drivers/gpu/drm/drm_sysfs.c b/drivers/gpu/drm/drm_sysfs.c
> index adc1794..ba54b4c 100644
>   




------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to