[PATCH 2/6] drm: add tile_group support. (v3)

2014-11-10 Thread Dave Airlie
From: Dave Airlie A tile group is an identifier shared by a single monitor, DisplayID topology has 8 bytes we can use for this, just use those for now until something else comes up in the future. We assign these to an idr and use the idr to tell userspace what connectors are in the same tile grou

[PATCH 2/6] drm: add tile_group support. (v2)

2014-10-28 Thread Dave Airlie
> @@ -5156,3 +5158,100 @@ struct drm_property > *drm_mode_create_rotation_property(struct drm_device *dev, >supported_rotations); > } > EXPORT_SYMBOL(drm_mode_create_rotation_property); > + > +/** > + * DOC: Tile group > + * > + * Tile groups are used

[PATCH 2/6] drm: add tile_group support. (v2)

2014-10-22 Thread Dave Airlie
From: Dave Airlie A tile group is an identifier shared by a single monitor, DisplayID topology has 8 bytes we can use for this, just use those for now until something else comes up in the future. We assign these to an idr and use the idr to tell userspace what connectors are in the same tile grou

[PATCH 2/6] drm: add tile_group support.

2014-10-22 Thread Dave Airlie
> Don't you need a kref_get_unless_zero here since we only destroy the idr > entry after the refcount dropped to zero? Or is there some magic thing > that prevents this like another mutex (in which case some mutex assert in > get/put would be good)? This does all happen under mode_config.mutex but

[PATCH 2/6] drm: add tile_group support.

2014-10-22 Thread Daniel Vetter
On Wed, Oct 22, 2014 at 12:23:30PM +1000, Dave Airlie wrote: > > And kerneldoc for the non-exported functions please, preferrably with some > > overview DOC: section to pull it all together. > > I'm posting v2, advice on kerneldoc required, so the functions end up > in the right place, I don't rea

[PATCH 2/6] drm: add tile_group support. (v2)

2014-10-22 Thread Daniel Vetter
On Wed, Oct 22, 2014 at 12:32:03PM +1000, Dave Airlie wrote: > From: Dave Airlie > > A tile group is an identifier shared by a single monitor, > DisplayID topology has 8 bytes we can use for this, just > use those for now until something else comes up in the > future. We assign these to an idr an

[PATCH 2/6] drm: add tile_group support.

2014-10-20 Thread Daniel Vetter
On Mon, Oct 20, 2014 at 04:37:12PM +1000, Dave Airlie wrote: > From: Dave Airlie > > A tile group is an identifier shared by a single monitor, > DisplayID topology has 8 bytes we can use for this, just > use those for now until something else comes up in the > future. We assign these to an idr an

[PATCH 2/6] drm: add tile_group support.

2014-10-20 Thread Dave Airlie
From: Dave Airlie A tile group is an identifier shared by a single monitor, DisplayID topology has 8 bytes we can use for this, just use those for now until something else comes up in the future. We assign these to an idr and use the idr to tell userspace what connectors are in the same tile grou

[PATCH 2/6] drm: add tile_group support.

2014-10-20 Thread David Herrmann
Hi On Mon, Oct 20, 2014 at 8:37 AM, Dave Airlie wrote: > From: Dave Airlie > > A tile group is an identifier shared by a single monitor, > DisplayID topology has 8 bytes we can use for this, just > use those for now until something else comes up in the > future. We assign these to an idr and use