Re: [PATCH 4/4] drm/i915: Make GMBUS timeout message DRM_DEBUG_KMS

Ville Syrjälä
2016-04-11T07:29:42Z

On Mon, Mar 07, 2016 at 05:57:00PM +0200, ville.syrjala@linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
> There's no real reason the user should care that we're about to fall
> back to bitbanging, so let's change the message from DRM_INFO to
> DRM_DEBUG_KMS.
>
> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94890

> ---
> drivers/gpu/drm/i915/intel_i2c.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_i2c.c b/drivers/gpu/drm/i915/intel_i2c.c
> index 5d4b3604afd2..edeb74c94d88 100644
> --- a/drivers/gpu/drm/i915/intel_i2c.c
> +++ b/drivers/gpu/drm/i915/intel_i2c.c
> @@ -571,8 +571,8 @@ clear_err:
> goto out;
>
> timeout:
> - DRM_INFO("GMBUS [%s] timed out, falling back to bit banging on pin %d\n",
> - bus->adapter.name, bus->reg0 & 0xff);
> + DRM_DEBUG_KMS("GMBUS [%s] timed out, falling back to bit banging on pin %d\n",
> + bus->adapter.name, bus->reg0 & 0xff);
> I915_WRITE(GMBUS0, 0);
>
> /*
> --
> 2.4.10

--
Ville Syrjälä
Intel OTC