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 Restore functions that...
details: https://anonhg.NetBSD.org/src/rev/bb1de0a63ee9
branches: trunk
changeset: 992839:bb1de0a63ee9
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Aug 27 07:57:45 2018 +0000
description:
Restore functions that are used outside debugfs after all.
diffstat:
sys/external/bsd/drm2/dist/drm/radeon/btc_dpm.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (34 lines):
diff -r 59eb351b40a5 -r bb1de0a63ee9 sys/external/bsd/drm2/dist/drm/radeon/btc_dpm.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/btc_dpm.c Mon Aug 27 07:57:34 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/btc_dpm.c Mon Aug 27 07:57:45 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: btc_dpm.c,v 1.3 2018/08/27 04:58:35 riastradh Exp $ */
+/* $NetBSD: btc_dpm.c,v 1.4 2018/08/27 07:57:45 riastradh Exp $ */
/*
* Copyright 2011 Advanced Micro Devices, Inc.
@@ -25,7 +25,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: btc_dpm.c,v 1.3 2018/08/27 04:58:35 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: btc_dpm.c,v 1.4 2018/08/27 07:57:45 riastradh Exp $");
#include "drmP.h"
#include "radeon.h"
@@ -2761,6 +2761,7 @@
current_index, pl->sclk, pl->mclk, pl->vddc, pl->vddci);
}
}
+#endif /* CONFIG_DEBUG_FS */
u32 btc_dpm_get_current_sclk(struct radeon_device *rdev)
{
@@ -2807,7 +2808,6 @@
return pl->mclk;
}
}
-#endif
u32 btc_dpm_get_sclk(struct radeon_device *rdev, bool low)
{
Home |
Main Index |
Thread Index |
Old Index