Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/dist/drm/i915 drm/i915: There's no rea...



details:   https://anonhg.NetBSD.org/src/rev/37ebf8024bed
branches:  trunk
changeset: 971757:37ebf8024bed
user:      nia <nia%NetBSD.org@localhost>
date:      Sun May 03 13:34:38 2020 +0000

description:
drm/i915: 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.

https://lists.freedesktop.org/archives/intel-gfx/2016-March/089133.html

diffstat:

 sys/external/bsd/drm2/dist/drm/i915/intel_i2c.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r edaa1ebe9c50 -r 37ebf8024bed sys/external/bsd/drm2/dist/drm/i915/intel_i2c.c
--- a/sys/external/bsd/drm2/dist/drm/i915/intel_i2c.c   Sun May 03 13:29:04 2020 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/intel_i2c.c   Sun May 03 13:34:38 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intel_i2c.c,v 1.19 2020/02/14 14:34:58 maya Exp $      */
+/*     $NetBSD: intel_i2c.c,v 1.20 2020/05/03 13:34:38 nia Exp $       */
 
 /*
  * Copyright (c) 2006 Dave Airlie <airlied%linux.ie@localhost>
@@ -29,7 +29,7 @@
  *     Chris Wilson <chris%chris-wilson.co.uk@localhost>
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intel_i2c.c,v 1.19 2020/02/14 14:34:58 maya Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intel_i2c.c,v 1.20 2020/05/03 13:34:38 nia Exp $");
 
 #include <linux/i2c.h>
 #include <linux/i2c-algo-bit.h>
@@ -643,8 +643,8 @@
        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);
 
        /* Hardware may not support GMBUS over these pins? Try GPIO bitbanging instead. */



Home | Main Index | Thread Index | Old Index