From: Alex Deucher Date: Tue, 19 Jan 2010 01:20:07 +0000 (-0500) Subject: drm/radeon/kms/r100: fix bug in CS parser X-Git-Tag: v2.6.33-rc6~27^2~6^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf57fc7aa2ac61d02a29550b99db6a01ccd7917c;p=pandora-kernel.git 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 Signed-off-by: Dave Airlie --- Reading git-diff-tree failed