Module Name: src Committed By: riastradh Date: Sun Dec 19 12:03:38 UTC 2021
Modified Files: src/sys/external/bsd/drm2/dist/drm/i915/gt: intel_ggtt.c Log Message: i915: Fix mistaken patch -- print with decimal, not hex. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 \ src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_ggtt.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_ggtt.c diff -u src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_ggtt.c:1.8 src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_ggtt.c:1.9 --- src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_ggtt.c:1.8 Sun Dec 19 11:50:39 2021 +++ src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_ggtt.c Sun Dec 19 12:03:38 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: intel_ggtt.c,v 1.8 2021/12/19 11:50:39 riastradh Exp $ */ +/* $NetBSD: intel_ggtt.c,v 1.9 2021/12/19 12:03:38 riastradh Exp $ */ // SPDX-License-Identifier: MIT /* @@ -6,7 +6,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: intel_ggtt.c,v 1.8 2021/12/19 11:50:39 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: intel_ggtt.c,v 1.9 2021/12/19 12:03:38 riastradh Exp $"); #include <linux/stop_machine.h> @@ -1324,9 +1324,9 @@ static int ggtt_probe_hw(struct i915_ggt } /* GMADR is the PCI mmio aperture into the global GTT. */ - DRM_DEBUG_DRIVER("GGTT size = %"PRIx64"M\n", ggtt->vm.total >> 20); - DRM_DEBUG_DRIVER("GMADR size = %"PRIx64"M\n", (u64)ggtt->mappable_end >> 20); - DRM_DEBUG_DRIVER("DSM size = %"PRIx64"M\n", + DRM_DEBUG_DRIVER("GGTT size = %"PRIu64"M\n", ggtt->vm.total >> 20); + DRM_DEBUG_DRIVER("GMADR size = %"PRIu64"M\n", (u64)ggtt->mappable_end >> 20); + DRM_DEBUG_DRIVER("DSM size = %"PRIu64"M\n", (u64)resource_size(&intel_graphics_stolen_res) >> 20); return 0;