only allow specific type-3 packets to pass the verifier instead of all for r100/r200...
authorRoland Scheidegger <rscheidegger_lists@hispeed.ch>
Tue, 10 Oct 2006 00:24:19 +0000 (02:24 +0200)
committerRoland Scheidegger <rscheidegger_lists@hispeed.ch>
Tue, 10 Oct 2006 00:24:19 +0000 (02:24 +0200)
commita9f57a2b9c5897cbf568bf75342204b780566de0
treea7c80b19d6ff42d77824365911202dd575eec3f3
parentc9e3aa961eb90265ec024ff57013786e4d47d0e7
only allow specific type-3 packets to pass the verifier instead of all for r100/r200 as others might be unsafe (r300 already does this), and add checking for these we need but aren't safe. Check the RADEON_CP_INDX_BUFFER packet on both r200 and r300 as it isn't safe neither.
shared-core/r300_cmdbuf.c
shared-core/radeon_state.c