Skip to content

anv: Fix transfer type assert

Vinson Lee requested to merge vlee/mesa:fix-cid-1547090 into main

What does this MR do and why?

anv: Fix transfer type assert

Fix defect reported by Coverity Scan.

Constant expression result (CONSTANT_EXPRESSION_RESULT) always_true_or: The or condition type != ANV_TIMESTAMP_CAPTURE_AT_CS_STALL || type != ANV_TIMESTAMP_REWRITE_COMPUTE_WALKER will always be true because type cannot be equal to two different values at the same time, so it must be not equal to at least one of them.

Fixes: 5112b421 ("anv: Handle end of pipe with MI_FLUSH_DW on transfer queue") Signed-off-by: Vinson Lee vlee@freedesktop.org

Merge request reports