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/i915 Fix 64-bit printfs.



details:   https://anonhg.NetBSD.org/src/rev/0b85b79c8de5
branches:  trunk
changeset: 992588:0b85b79c8de5
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 07:07:33 2018 +0000

description:
Fix 64-bit printfs.

diffstat:

 sys/external/bsd/drm2/dist/drm/i915/i915_gem_fence.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r c8ae6829ddd5 -r 0b85b79c8de5 sys/external/bsd/drm2/dist/drm/i915/i915_gem_fence.c
--- a/sys/external/bsd/drm2/dist/drm/i915/i915_gem_fence.c      Mon Aug 27 07:07:23 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_gem_fence.c      Mon Aug 27 07:07:33 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i915_gem_fence.c,v 1.2 2018/08/27 04:58:23 riastradh Exp $     */
+/*     $NetBSD: i915_gem_fence.c,v 1.3 2018/08/27 07:07:33 riastradh Exp $     */
 
 /*
  * Copyright © 2008-2015 Intel Corporation
@@ -24,7 +24,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i915_gem_fence.c,v 1.2 2018/08/27 04:58:23 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i915_gem_fence.c,v 1.3 2018/08/27 07:07:33 riastradh Exp $");
 
 #include <drm/drmP.h>
 #include <drm/i915_drm.h>
@@ -133,7 +133,7 @@
                WARN((i915_gem_obj_ggtt_offset(obj) & ~I915_FENCE_START_MASK) ||
                     (size & -size) != size ||
                     (i915_gem_obj_ggtt_offset(obj) & (size - 1)),
-                    "object 0x%08llx [fenceable? %d] not 1M or pot-size (0x%08x) aligned\n",
+                    "object 0x%08"PRIx64" [fenceable? %d] not 1M or pot-size (0x%08x) aligned\n",
                     i915_gem_obj_ggtt_offset(obj), obj->map_and_fenceable, size);
 
                if (obj->tiling_mode == I915_TILING_Y && HAS_128_BYTE_Y_TILING(dev))
@@ -171,7 +171,7 @@
                WARN((i915_gem_obj_ggtt_offset(obj) & ~I830_FENCE_START_MASK) ||
                     (size & -size) != size ||
                     (i915_gem_obj_ggtt_offset(obj) & (size - 1)),
-                    "object 0x%08llx not 512K or pot-size 0x%08x aligned\n",
+                    "object 0x%08"PRIx64" not 512K or pot-size 0x%08x aligned\n",
                     i915_gem_obj_ggtt_offset(obj), size);
 
                pitch_val = obj->stride / 128;



Home | Main Index | Thread Index | Old Index