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/ttm Go back from DRM_HZ to HZ...



details:   https://anonhg.NetBSD.org/src/rev/49e399cbd323
branches:  trunk
changeset: 992814:49e399cbd323
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 07:52:53 2018 +0000

description:
Go back from DRM_HZ to HZ, seems fine.

diffstat:

 sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 4be5fd98222d -r 49e399cbd323 sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.c
--- a/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.c       Mon Aug 27 07:52:42 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.c       Mon Aug 27 07:52:53 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ttm_bo.c,v 1.11 2018/08/27 04:58:37 riastradh Exp $    */
+/*     $NetBSD: ttm_bo.c,v 1.12 2018/08/27 07:52:53 riastradh Exp $    */
 
 /**************************************************************************
  *
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ttm_bo.c,v 1.11 2018/08/27 04:58:37 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ttm_bo.c,v 1.12 2018/08/27 07:52:53 riastradh Exp $");
 
 #define pr_fmt(fmt) "[TTM] " fmt
 
@@ -501,7 +501,7 @@
        spin_unlock(&glob->lru_lock);
 
        schedule_delayed_work(&bdev->wq,
-                             ((DRM_HZ / 100) < 1) ? 1 : DRM_HZ / 100);
+                             ((HZ / 100) < 1) ? 1 : HZ / 100);
 }
 
 /**
@@ -651,7 +651,7 @@
 
        if (ttm_bo_delayed_delete(bdev, false)) {
                schedule_delayed_work(&bdev->wq,
-                                     ((DRM_HZ / 100) < 1) ? 1 : DRM_HZ / 100);
+                                     ((HZ / 100) < 1) ? 1 : HZ / 100);
        }
 }
 
@@ -695,7 +695,7 @@
 {
        if (resched)
                schedule_delayed_work(&bdev->wq,
-                                     ((DRM_HZ / 100) < 1) ? 1 : DRM_HZ / 100);
+                                     ((HZ / 100) < 1) ? 1 : HZ / 100);
 }
 EXPORT_SYMBOL(ttm_bo_unlock_delayed_workqueue);
 



Home | Main Index | Thread Index | Old Index