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/i915drm Use correct value for gtt->gtt...
details: https://anonhg.NetBSD.org/src/rev/5786d736959b
branches: trunk
changeset: 329317:5786d736959b
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon May 19 14:44:36 2014 +0000
description:
Use correct value for gtt->gtt_bsh in agp case (unused, so harmless).
diffstat:
sys/external/bsd/drm2/i915drm/i915_gem_gtt.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 00a45c6f68cb -r 5786d736959b sys/external/bsd/drm2/i915drm/i915_gem_gtt.c
--- a/sys/external/bsd/drm2/i915drm/i915_gem_gtt.c Mon May 19 14:39:33 2014 +0000
+++ b/sys/external/bsd/drm2/i915drm/i915_gem_gtt.c Mon May 19 14:44:36 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i915_gem_gtt.c,v 1.7 2014/05/19 14:39:33 riastradh Exp $ */
+/* $NetBSD: i915_gem_gtt.c,v 1.8 2014/05/19 14:44:36 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i915_gem_gtt.c,v 1.7 2014/05/19 14:39:33 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i915_gem_gtt.c,v 1.8 2014/05/19 14:44:36 riastradh Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -405,7 +405,7 @@
gtt->stolen_size = (isc->stolen >> AGP_PAGE_SHIFT);
gtt->gtt_total_entries =
(gtt->gtt_mappable_entries + gtt->stolen_size);
- gtt->gtt_bsh = isc->bsh;
+ gtt->gtt_bsh = isc->gtt_bsh;
product = PCI_PRODUCT(dev->pdev->pd_pa.pa_id);
if (((product == PCI_PRODUCT_INTEL_IRONLAKE_M_HB) ||
Home |
Main Index |
Thread Index |
Old Index