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>
static inline void pvr_trcmd_clear_syn(struct pvr_trcmd_syn *ts)
{
- memset(ts, 0, sizeof(*ts));
+ ts->addr = 0;
}
void pvr_trcmd_check_syn_completions(int type);