On Tue, 11 Aug 2009 11:23:09 +0200
Thomas Hellström <tho...@shipmail.org> wrote:

> Hi!
> 
> I'm wondering why we are using a struct device as a sysfs
> representation for connectors instead of a struct kobject?
> 
> In particular, what stops the drm_sysfs_[suspend|resume] functions to 
> get called for the connectors, having them cast to a struct drm_minor 
> and sending the cpu to the bushes?

Hm, maybe we're just getting lucky that the drm minor check fails for
everything but the DRM core device.  kobjects might make sense to move
to, unless we can think of other things we'd like to do with a full
device (e.g. runtime power management or some sort of per-connector
suspend/resume).

-- 
Jesse Barnes, Intel Open Source Technology Center

------------------------------------------------------------------------------
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