Module Name: src Committed By: riastradh Date: Sun Sep 8 16:12:26 UTC 2013
Modified Files: src/sys/external/bsd/drm2/dist/drm/i915 [riastradh-drm2]: intel_ringbuffer.c Log Message: Specify the ring map type as _DRM_REGISTERS. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1.2.9 -r1.1.1.1.2.10 \ src/sys/external/bsd/drm2/dist/drm/i915/intel_ringbuffer.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/intel_ringbuffer.c diff -u src/sys/external/bsd/drm2/dist/drm/i915/intel_ringbuffer.c:1.1.1.1.2.9 src/sys/external/bsd/drm2/dist/drm/i915/intel_ringbuffer.c:1.1.1.1.2.10 --- src/sys/external/bsd/drm2/dist/drm/i915/intel_ringbuffer.c:1.1.1.1.2.9 Sun Sep 8 16:02:21 2013 +++ src/sys/external/bsd/drm2/dist/drm/i915/intel_ringbuffer.c Sun Sep 8 16:12:26 2013 @@ -1209,6 +1209,7 @@ static int intel_init_ring_buffer(struct 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;