panfrost: Remove panfrost_add_dependency asserts
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 13 Aug 2019 20:08:52 +0000 (13:08 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 14 Aug 2019 21:58:34 +0000 (14:58 -0700)
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 <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_scoreboard.c

index bae9dfb3c251186887ababb09c6fbceeff54ca16..692f542544419a346a1ff4fd28b615ec481721cd 100644 (file)
@@ -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)