Re: DRM modesetting & sysfs

From: Jesse Barnes
Date: Wed Apr 09 2008 - 11:19:18 EST


On Wednesday, April 09, 2008 1:57 am Jakob Bornecrantz wrote:
> I was going to suggest that you plug it into the hotplug_stage_two
> function but it looks like you have already done that. Things might be
> routed differently now then since the last time I looked at the code,
> are you sure that stage_two is being run?

I'll have to check, I'm not sure I'm even getting interrupts...

> > Any thoughts on the interface? Anything in particular people would like
> > to see?
>
> Looks good, can you write to dpms, that is turn a monitor on and of,
> that would be slightly cool but not overly useful. On the whole I
> think exporting properties are fine, but I don't think setting modes
> and crtc's are to be done in sysfs. However it is entirely possible.

Agreed. I view this more as a way of exporting information about the DRM
configuration to userspace rather than a way to control the whole thing. I
think we should stick with ioctls for the latter... Anyway thanks for
checking it out.

Jesse
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/