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/radeon include the return val...



details:   https://anonhg.NetBSD.org/src/rev/32579eb4d511
branches:  trunk
changeset: 368486:32579eb4d511
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Jul 15 06:42:08 2022 +0000

description:
include the return value of rv770_restrict_performance_levels_before_switch()
in error messages.

diffstat:

 sys/external/bsd/drm2/dist/drm/radeon/radeon_btc_dpm.c     |  6 +++---
 sys/external/bsd/drm2/dist/drm/radeon/radeon_cypress_dpm.c |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 164a977831c4 -r 32579eb4d511 sys/external/bsd/drm2/dist/drm/radeon/radeon_btc_dpm.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/radeon_btc_dpm.c    Fri Jul 15 06:40:24 2022 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/radeon_btc_dpm.c    Fri Jul 15 06:42:08 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: radeon_btc_dpm.c,v 1.2 2021/12/18 23:45:43 riastradh Exp $     */
+/*     $NetBSD: radeon_btc_dpm.c,v 1.3 2022/07/15 06:42:08 mrg Exp $   */
 
 /*
  * Copyright 2011 Advanced Micro Devices, Inc.
@@ -25,7 +25,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: radeon_btc_dpm.c,v 1.2 2021/12/18 23:45:43 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radeon_btc_dpm.c,v 1.3 2022/07/15 06:42:08 mrg Exp $");
 
 #include <linux/pci.h>
 #include <linux/seq_file.h>
@@ -2316,7 +2316,7 @@
        btc_set_boot_state_timing(rdev);
        ret = rv770_restrict_performance_levels_before_switch(rdev);
        if (ret) {
-               DRM_ERROR("rv770_restrict_performance_levels_before_switch failed\n");
+               DRM_ERROR("rv770_restrict_performance_levels_before_switch failed: %d\n", ret);
                return ret;
        }
        if (eg_pi->pcie_performance_request)
diff -r 164a977831c4 -r 32579eb4d511 sys/external/bsd/drm2/dist/drm/radeon/radeon_cypress_dpm.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/radeon_cypress_dpm.c        Fri Jul 15 06:40:24 2022 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/radeon_cypress_dpm.c        Fri Jul 15 06:42:08 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: radeon_cypress_dpm.c,v 1.2 2021/12/18 23:45:43 riastradh Exp $ */
+/*     $NetBSD: radeon_cypress_dpm.c,v 1.3 2022/07/15 06:42:08 mrg Exp $       */
 
 /*
  * Copyright 2011 Advanced Micro Devices, Inc.
@@ -25,7 +25,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: radeon_cypress_dpm.c,v 1.2 2021/12/18 23:45:43 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radeon_cypress_dpm.c,v 1.3 2022/07/15 06:42:08 mrg Exp $");
 
 #include <linux/pci.h>
 
@@ -1966,7 +1966,7 @@
 
        ret = rv770_restrict_performance_levels_before_switch(rdev);
        if (ret) {
-               DRM_ERROR("rv770_restrict_performance_levels_before_switch failed\n");
+               DRM_ERROR("rv770_restrict_performance_levels_before_switch failed: %d\n", ret);
                return ret;
        }
        if (eg_pi->pcie_performance_request)



Home | Main Index | Thread Index | Old Index