drm/radeon: fix texture uploads with large 3d textures (bug 13980)
authorRoland Scheidegger <sroland@tungstengraphics.com>
Thu, 19 Jun 2008 01:36:04 +0000 (11:36 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 19 Jun 2008 01:36:04 +0000 (11:36 +1000)
commit9156cf09f56150ed89f77eaa4c386a07789776a0
tree39088281aa78ab6e3188dcd789e35ff726a056c0
parentc0beb2a723d69934a53f51a9d664c5b1dbbf634b
drm/radeon: fix texture uploads with large 3d textures (bug 13980)

Texture uploads could hit the blitter coordinate limit, adjust the texture
offset when uploading the pieces. Make sure to check the end address of the
upload too.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/char/drm/radeon_state.c