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/45cf42be28c6
branches:  trunk
changeset: 365757:45cf42be28c6
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 a7477c250a0d -r 45cf42be28c6 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