commit | cf57fc7aa2ac61d02a29550b99db6a01ccd7917c | [log] [tgz] |
---|---|---|
author | Alex Deucher <alexdeucher@gmail.com> | Mon Jan 18 20:20:07 2010 -0500 |
committer | Dave Airlie <airlied@linux.ie> | Thu Jan 21 08:18:18 2010 +1000 |
tree | f266175928615dc0543d0ee4911f939e3e8d549c | |
parent | 828153e29206196552c2cc34461ad7e5b93e3f22 [diff] |
drm/radeon/kms/r100: fix bug in CS parser The first dword of PACKET3_3D_DRAW_IMMD maps to SE_VTX_FMT so the vertex size is part of the draw packet. This patch fixes a possible case where you have a command buffer that does not contain SE_VTX_FMT register write, but does contain PACKET3_3D_DRAW_IMMD. Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@linux.ie>