[RFC] drm platform multi-device support

2011-04-06 Thread Dave Airlie
On Tue, Apr 5, 2011 at 1:08 PM, Rob Clark wrote: > On Mon, Apr 4, 2011 at 7:30 PM, Dave Airlie wrote: >> On Wed, Mar 30, 2011 at 2:44 AM, Rob Clark wrote: >>> From: Rob Clark >>> >>> Include the minor device id in the bus-id to give userspace a way to open >>> the correct "cardN" when there are

Re: [RFC] drm platform multi-device support

2011-04-05 Thread Dave Airlie
On Tue, Apr 5, 2011 at 1:08 PM, Rob Clark wrote: > On Mon, Apr 4, 2011 at 7:30 PM, Dave Airlie wrote: >> On Wed, Mar 30, 2011 at 2:44 AM, Rob Clark wrote: >>> From: Rob Clark >>> >>> Include the minor device id in the bus-id to give userspace a way to open >>> the correct "cardN" when there are

[RFC] drm platform multi-device support

2011-04-05 Thread Dave Airlie
On Wed, Mar 30, 2011 at 2:44 AM, Rob Clark wrote: > From: Rob Clark > > Include the minor device id in the bus-id to give userspace a way to open > the correct "cardN" when there are multiple device instances. > --- > It may seem a bit strange to have multiple platform device instances, but > we

[RFC] drm platform multi-device support

2011-04-04 Thread Rob Clark
On Mon, Apr 4, 2011 at 7:30 PM, Dave Airlie wrote: > On Wed, Mar 30, 2011 at 2:44 AM, Rob Clark wrote: >> From: Rob Clark >> >> Include the minor device id in the bus-id to give userspace a way to open >> the correct "cardN" when there are multiple device instances. >> --- >> It may seem a bit s

Re: [RFC] drm platform multi-device support

2011-04-04 Thread Rob Clark
On Mon, Apr 4, 2011 at 7:30 PM, Dave Airlie wrote: > On Wed, Mar 30, 2011 at 2:44 AM, Rob Clark wrote: >> From: Rob Clark >> >> Include the minor device id in the bus-id to give userspace a way to open >> the correct "cardN" when there are multiple device instances. >> --- >> It may seem a bit s

Re: [RFC] drm platform multi-device support

2011-04-04 Thread Dave Airlie
On Wed, Mar 30, 2011 at 2:44 AM, Rob Clark wrote: > From: Rob Clark > > Include the minor device id in the bus-id to give userspace a way to open > the correct "cardN" when there are multiple device instances. > --- > It may seem a bit strange to have multiple platform device instances, but > we

[RFC] drm platform multi-device support

2011-03-30 Thread Rob Clark
Ahh, yes I am.. I apologize, still too much display and gfx accel and other stuff I depend on isn't in kernel.org tree yet, so I'm just using ubuntu 2.6.38 tree, ti-omap4 branch, (since this is the most current kernel that also has everything else I need). But I guess it is a bit out of date alre

[RFC] drm platform multi-device support

2011-03-30 Thread Ilija Hadzic
Are you by any chance working off a stale branch in git ? Apparently the lines you are modifying now live in drm_platform_set_busid function in drm_platform.c -- Ilija On Tue, 29 Mar 2011, Rob Clark wrote: > From: Rob Clark > > Include the minor device id in the bus-id to give userspace a wa

Re: [RFC] drm platform multi-device support

2011-03-30 Thread Rob Clark
Ahh, yes I am.. I apologize, still too much display and gfx accel and other stuff I depend on isn't in kernel.org tree yet, so I'm just using ubuntu 2.6.38 tree, ti-omap4 branch, (since this is the most current kernel that also has everything else I need). But I guess it is a bit out of date alre

Re: [RFC] drm platform multi-device support

2011-03-30 Thread Ilija Hadzic
Are you by any chance working off a stale branch in git ? Apparently the lines you are modifying now live in drm_platform_set_busid function in drm_platform.c -- Ilija On Tue, 29 Mar 2011, Rob Clark wrote: From: Rob Clark Include the minor device id in the bus-id to give userspace a way

[RFC] drm platform multi-device support

2011-03-29 Thread Rob Clark
From: Rob Clark Include the minor device id in the bus-id to give userspace a way to open the correct "cardN" when there are multiple device instances. --- It may seem a bit strange to have multiple platform device instances, but we have a use-case for this. And this relatively simple patch does

[RFC] drm platform multi-device support

2011-03-29 Thread Rob Clark
From: Rob Clark Include the minor device id in the bus-id to give userspace a way to open the correct "cardN" when there are multiple device instances. --- It may seem a bit strange to have multiple platform device instances, but we have a use-case for this. And this relatively simple patch does