libdrm/radeon: Fix section size mismatch to reset the section.
authorPauli Nieminen <suokkos@gmail.com>
Mon, 1 Feb 2010 18:19:33 +0000 (20:19 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 4 Feb 2010 02:14:37 +0000 (12:14 +1000)
commit1802e1a4e747b5906d3af10c4a53fd457eddcbb4
treeb04b50b1db3cbd8093e034c5e01c624a81c6d75a
parent520c658706aa896d64f374cc74065394111f6122
libdrm/radeon: Fix section size mismatch to reset the section.

If there is section size mismatch reusing the section object
makes section start fail.
Reseting the object before doing error checking prevents the
possible flood of errors.
radeon/radeon_cs_gem.c