From: Alyssa Rosenzweig Date: Tue, 13 Aug 2019 20:08:52 +0000 (-0700) Subject: panfrost: Remove panfrost_add_dependency asserts X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3e6f2e7aba13ad3fcc652df6fb3f3b4919f803d5;p=mesa.git 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 --- 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)