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 These are no longer us...



details:   https://anonhg.NetBSD.org/src/rev/d5799eb71865
branches:  trunk
changeset: 834838:d5799eb71865
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 06:38:10 2018 +0000

description:
These are no longer used only by debugfs, remove ifdefs.

diffstat:

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

diffs (34 lines):

diff -r 2af6c5cc56a3 -r d5799eb71865 sys/external/bsd/drm2/dist/drm/radeon/ci_dpm.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/ci_dpm.c    Mon Aug 27 06:37:53 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/ci_dpm.c    Mon Aug 27 06:38:10 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ci_dpm.c,v 1.6 2018/08/27 06:32:32 riastradh Exp $     */
+/*     $NetBSD: ci_dpm.c,v 1.7 2018/08/27 06:38:10 riastradh Exp $     */
 
 /*
  * Copyright 2013 Advanced Micro Devices, Inc.
@@ -24,7 +24,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ci_dpm.c,v 1.6 2018/08/27 06:32:32 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ci_dpm.c,v 1.7 2018/08/27 06:38:10 riastradh Exp $");
 
 #include <linux/firmware.h>
 #include "drmP.h"
@@ -1765,7 +1765,6 @@
 }
 #endif
 
-#ifdef CONFIG_DEBUG_FS
 static u32 ci_get_average_sclk_freq(struct radeon_device *rdev)
 {
        u32 sclk_freq;
@@ -1791,7 +1790,6 @@
 
        return mclk_freq;
 }
-#endif
 
 static void ci_dpm_start_smc(struct radeon_device *rdev)
 {



Home | Main Index | Thread Index | Old Index