From 3e6f2e7aba13ad3fcc652df6fb3f3b4919f803d5 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 13 Aug 2019 13:08:52 -0700 Subject: [PATCH] panfrost: Remove panfrost_add_dependency asserts It doesn't... make a ton of sense to need to assert and this routine is hotter than you might expect. Doesn't matter for release builds, of course. Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/pan_scoreboard.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gallium/drivers/panfrost/pan_scoreboard.c b/src/gallium/drivers/panfrost/pan_scoreboard.c index bae9dfb3c25..692f5425444 100644 --- a/src/gallium/drivers/panfrost/pan_scoreboard.c +++ b/src/gallium/drivers/panfrost/pan_scoreboard.c @@ -143,10 +143,6 @@ panfrost_add_dependency( struct mali_job_descriptor_header *second = job_descriptor_header(depender); - /* Ensure we're ready for dependencies */ - assert(second->job_index); - assert(first->job_index); - /* Look for an open slot */ if (!second->job_dependency_index_1) -- 2.30.2