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 i915: Disable message ci...



details:   https://anonhg.NetBSD.org/src/rev/fee505e5e3b0
branches:  trunk
changeset: 1029200:fee505e5e3b0
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Dec 27 11:06:49 2021 +0000

description:
i915: Disable message citing firmware URL.

Not very helpful for users; helpful only for developers maintaining
the gpufw set, who can find it by searching the source of the
message.  (Also it was missing a newline which is very confusing!)

diffstat:

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

diffs (29 lines):

diff -r fa4189ed5343 -r fee505e5e3b0 sys/external/bsd/drm2/dist/drm/i915/intel_csr.c
--- a/sys/external/bsd/drm2/dist/drm/i915/intel_csr.c   Mon Dec 27 10:41:57 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/intel_csr.c   Mon Dec 27 11:06:49 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intel_csr.c,v 1.8 2021/12/19 11:38:04 riastradh Exp $  */
+/*     $NetBSD: intel_csr.c,v 1.9 2021/12/27 11:06:49 riastradh Exp $  */
 
 /*
  * Copyright © 2014 Intel Corporation
@@ -25,7 +25,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intel_csr.c,v 1.8 2021/12/19 11:38:04 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intel_csr.c,v 1.9 2021/12/27 11:06:49 riastradh Exp $");
 
 #include <linux/firmware.h>
 
@@ -659,8 +659,10 @@
                           "Failed to load DMC firmware %s."
                           " Disabling runtime power management.\n",
                           csr->fw_path);
+#ifndef __NetBSD__
                dev_notice(dev_priv->drm.dev, "DMC firmware homepage: %s",
                           INTEL_UC_FIRMWARE_URL);
+#endif
        }
 
        release_firmware(fw);



Home | Main Index | Thread Index | Old Index