Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/external/bsd/drm2/dist/drm/i915 Specify the rin...
details: https://anonhg.NetBSD.org/src/rev/120c9cbb49b1
branches: riastradh-drm2
changeset: 788552:120c9cbb49b1
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Sep 08 16:12:26 2013 +0000
description:
Specify the ring map type as _DRM_REGISTERS.
diffstat:
sys/external/bsd/drm2/dist/drm/i915/intel_ringbuffer.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r da4db74b36a1 -r 120c9cbb49b1 sys/external/bsd/drm2/dist/drm/i915/intel_ringbuffer.c
--- a/sys/external/bsd/drm2/dist/drm/i915/intel_ringbuffer.c Sun Sep 08 16:11:29 2013 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/intel_ringbuffer.c Sun Sep 08 16:12:26 2013 +0000
@@ -1209,6 +1209,7 @@
ring->virtual_start_map.offset = (dev_priv->mm.gtt->gma_bus_addr +
obj->gtt_offset);
ring->virtual_start_map.size = ring->size;
+ ring->virtual_start_map.type = _DRM_REGISTERS;
ring->virtual_start_map.flags = 0;
ring->virtual_start_map.flags |= _DRM_RESTRICTED;
ring->virtual_start_map.flags |= _DRM_KERNEL;
Home |
Main Index |
Thread Index |
Old Index