gfx: pvr: optimize clearing sync counter trace info struct
authorImre Deak <imre.deak@intel.com>
Wed, 11 Jan 2012 14:07:49 +0000 (16:07 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 09:29:34 +0000 (12:29 +0300)
commit46b115e1f92abef87607930b1c22546c322777df
tree83ba50f9c7d76ca6eef414597f2b43a1d90f8fdf
parent90c00c89dd19179bf555be5a901ac969b3439431
gfx: pvr: optimize clearing sync counter trace info struct

Clearing this struct is necessary to suppress tracing for a given sync
counter. But for this we don't need to bzero the whole sync counter info
struct it's enough to set the address to zero.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Pauli Nieminen <pauli.nieminen@linux.intel.com>
Tested-by: Pauli Nieminen <pauli.nieminen@linux.intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
drivers/staging/mrst/pvr/pvr_trace_cmd.h