Add requested size to r300RefillCurrentDmaRegion.
authorJerome Glisse <glisse@freedesktop.org>
Thu, 2 Nov 2006 20:02:26 +0000 (20:02 +0000)
committerJerome Glisse <glisse@freedesktop.org>
Thu, 2 Nov 2006 20:02:26 +0000 (20:02 +0000)
commitb6c2a6a0f295c078efc4737337ad67deaa7cee0a
treea5f3717654fb755acbea7c9b5bba0d23e1bd92f4
parent94249ca333eef997f865d0e0862b913cec061c6c
Add requested size to r300RefillCurrentDmaRegion.

This way we no longuer have the fixed RADEON_BUFFER_SIZE.
Anyway function calling AllocDmaRegion should check if this
succeed and fail gracefuly if not (see bug 8348).
src/mesa/drivers/dri/r300/r300_ioctl.c
src/mesa/drivers/dri/r300/r300_ioctl.h
src/mesa/drivers/dri/r300/radeon_context.c
src/mesa/drivers/dri/r300/radeon_mm.c