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/display i915_ggtt_offset...



details:   https://anonhg.NetBSD.org/src/rev/4165415a7c9e
branches:  trunk
changeset: 1028670:4165415a7c9e
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 11:38:53 2021 +0000

description:
i915_ggtt_offset returns u32, so printf a 32bit sized thing.


Author: Maya Rashish <maya%NetBSD.org@localhost>
Committer: Taylor R Campbell <riastradh%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/drm2/dist/drm/i915/display/intel_fbdev.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 75fe5fbea243 -r 4165415a7c9e sys/external/bsd/drm2/dist/drm/i915/display/intel_fbdev.c
--- a/sys/external/bsd/drm2/dist/drm/i915/display/intel_fbdev.c Sun Dec 19 11:38:46 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/display/intel_fbdev.c Sun Dec 19 11:38:53 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intel_fbdev.c,v 1.4 2021/12/19 11:38:46 riastradh Exp $        */
+/*     $NetBSD: intel_fbdev.c,v 1.5 2021/12/19 11:38:53 riastradh Exp $        */
 
 /*
  * Copyright © 2007 David Airlie
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intel_fbdev.c,v 1.4 2021/12/19 11:38:46 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intel_fbdev.c,v 1.5 2021/12/19 11:38:53 riastradh Exp $");
 
 #include <linux/async.h>
 #include <linux/console.h>
@@ -315,7 +315,7 @@
 
        /* Use default scratch pixmap (info->pixmap.flags = FB_PIXMAP_SYSTEM) */
 
-       DRM_DEBUG_KMS("allocated %dx%d fb: 0x%08"PRIx64"\n",
+       DRM_DEBUG_KMS("allocated %dx%d fb: 0x%08"PRIx32"\n",
                      ifbdev->fb->base.width, ifbdev->fb->base.height,
                      i915_ggtt_offset(vma));
        ifbdev->vma = vma;



Home | Main Index | Thread Index | Old Index