Messages in this thread Patch in this message | | | Date | Fri, 27 Aug 2004 15:12:30 +0100 (IST) | From | Dave Airlie <> | Subject | drm fixup 1/2 - missing bus_address assignment |
| |
This is a series of two minor patches for the DRM, one fixes a missing bus_address and the other from Arjan optimises some access in the i8x0 drivers..
Patch from Tom Arbuckle for missing bus_address
Signed-off-by: Dave Airlie <airlied@linux.ie>
diff -Nru a/drivers/char/drm/drm_bufs.h b/drivers/char/drm/drm_bufs.h --- a/drivers/char/drm/drm_bufs.h Sat Aug 28 00:02:27 2004 +++ b/drivers/char/drm/drm_bufs.h Sat Aug 28 00:02:28 2004 @@ -691,6 +691,7 @@ buf->used = 0; buf->offset = (dma->byte_count + byte_count + offset); buf->address = (void *)(page + offset); + buf->bus_address = virt_to_bus(buf->address); buf->next = NULL; buf->waiting = 0; buf->pending = 0; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |