Re: [Intel-gfx] [RFC PATCH] drm/dp: let drivers specify the name of the I2C-over-AUX adapter

2014-03-10 Thread Thierry Reding
On Wed, Mar 05, 2014 at 01:50:27PM +0200, Jani Nikula wrote: [...] I am not entirely happy with adding an extra name field, but I also didn't like the caller having to set up aux.ddc.name in advance. Ideas welcome. What you propose is a whole lot better than having to modify the internals of

Re: [Intel-gfx] [RFC PATCH] drm/dp: let drivers specify the name of the I2C-over-AUX adapter

2014-03-10 Thread Jani Nikula
On Mon, 10 Mar 2014, Thierry Reding thierry.red...@gmail.com wrote: On Wed, Mar 05, 2014 at 01:50:27PM +0200, Jani Nikula wrote: [...] I am not entirely happy with adding an extra name field, but I also didn't like the caller having to set up aux.ddc.name in advance. Ideas welcome. What you

[Intel-gfx] [RFC PATCH] drm/dp: let drivers specify the name of the I2C-over-AUX adapter

2014-03-05 Thread Jani Nikula
Let the drivers specify the name of the I2C-over-AUX adapter to maintain backwards compatibility in the sysfs when converting to the new I2C-over-AUX helper infrastructure. The i915 driver currently uses DPDDC-A to DPDDC-D as names for the DP i2c adapters. These names show up in the i2c sysfs