[PATCH] drm/radeon: warn users when hw_i2c is enabled

2014-01-07 Thread Rafał Miłecki
2014/1/7 Alex Deucher : > + if (radeon_hw_i2c == 1) > + DRM_INFO("hw_i2c forced on, you may experience display > detection problems!\n"); What about simple if (radeon_hw_i2c) ? Values 2, 3, ... also enable i2c.

[PATCH] drm/radeon: warn users when hw_i2c is enabled

2014-01-07 Thread Grigori Goronzy
On 07.01.2014 16:14, Alex Deucher wrote: > The hw i2c engines are disabled by default as the > current implementation is still experimental. Print > a warning when users enable it so that it's obvious > when the option is enabled. > Does hardware I2C actually have any advantage in the DDC use cas

[PATCH] drm/radeon: warn users when hw_i2c is enabled

2014-01-07 Thread Christian König
Am 07.01.2014 16:14, schrieb Alex Deucher: > The hw i2c engines are disabled by default as the > current implementation is still experimental. Print > a warning when users enable it so that it's obvious > when the option is enabled. > > Signed-off-by: Alex Deucher > Cc: stable at vger.kernel.org

[PATCH] drm/radeon: warn users when hw_i2c is enabled

2014-01-07 Thread Alex Deucher
On Tue, Jan 7, 2014 at 11:16 AM, Rafa? Mi?ecki wrote: > 2014/1/7 Alex Deucher : >> + if (radeon_hw_i2c == 1) >> + DRM_INFO("hw_i2c forced on, you may experience display >> detection problems!\n"); > > What about simple > if (radeon_hw_i2c) > ? Values 2, 3, ... also enable i2c.

[PATCH] drm/radeon: warn users when hw_i2c is enabled (v2)

2014-01-07 Thread Alex Deucher
The hw i2c engines are disabled by default as the current implementation is still experimental. Print a warning when users enable it so that it's obvious when the option is enabled. v2: check for non-0 rather than 1 Signed-off-by: Alex Deucher Reviewed-by: Christian K?nig Cc: stable at vger.ke

[PATCH] drm/radeon: warn users when hw_i2c is enabled

2014-01-07 Thread Alex Deucher
On Tue, Jan 7, 2014 at 10:58 AM, Grigori Goronzy wrote: > On 07.01.2014 16:14, Alex Deucher wrote: >> >> The hw i2c engines are disabled by default as the >> current implementation is still experimental. Print >> a warning when users enable it so that it's obvious >> when the option is enabled. >

[PATCH] drm/radeon: warn users when hw_i2c is enabled

2014-01-07 Thread Alex Deucher
The hw i2c engines are disabled by default as the current implementation is still experimental. Print a warning when users enable it so that it's obvious when the option is enabled. Signed-off-by: Alex Deucher Cc: stable at vger.kernel.org --- drivers/gpu/drm/radeon/radeon_i2c.c | 3 +++ 1 file