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 Use a closer equivalent ...



details:   https://anonhg.NetBSD.org/src/rev/dfd0b40ad248
branches:  trunk
changeset: 744703:dfd0b40ad248
user:      maya <maya%NetBSD.org@localhost>
date:      Mon Feb 10 21:54:26 2020 +0000

description:
Use a closer equivalent to MEMREMAP_WB: BUS_SPACE_MAP_CACHEABLE

Not a fix for PR port-amd64/54808

diffstat:

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

diffs (27 lines):

diff -r 61d41e222f0a -r dfd0b40ad248 sys/external/bsd/drm2/dist/drm/i915/intel_opregion.c
--- a/sys/external/bsd/drm2/dist/drm/i915/intel_opregion.c      Mon Feb 10 20:11:48 2020 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/intel_opregion.c      Mon Feb 10 21:54:26 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intel_opregion.c,v 1.14 2018/08/27 13:54:48 riastradh Exp $    */
+/*     $NetBSD: intel_opregion.c,v 1.15 2020/02/10 21:54:26 maya Exp $ */
 
 /*
  * Copyright 2008 Intel Corporation <hong.liu%intel.com@localhost>
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intel_opregion.c,v 1.14 2018/08/27 13:54:48 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intel_opregion.c,v 1.15 2020/02/10 21:54:26 maya Exp $");
 
 #include <linux/printk.h>
 #include <linux/acpi.h>
@@ -997,7 +997,7 @@
 #ifdef __NetBSD__
        opregion->bst = dev->pdev->pd_pa.pa_memt;
        err = -bus_space_map(opregion->bst, asls, OPREGION_SIZE,
-           BUS_SPACE_MAP_LINEAR|BUS_SPACE_MAP_PREFETCHABLE, &opregion->bsh);
+           BUS_SPACE_MAP_LINEAR|BUS_SPACE_MAP_CACHEABLE, &opregion->bsh);
        if (err) {
                DRM_DEBUG_DRIVER("Failed to map opregion: %d\n", err);
                return err;



Home | Main Index | Thread Index | Old Index