pan/bi: Add bi_instr_schedulable predicate
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 6 Jan 2021 19:55:02 +0000 (14:55 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 8 Feb 2021 14:07:29 +0000 (14:07 +0000)
commita303076c1ab71f92907b1967c4b542af0c847198
treebf4484897402846fbedb7f1e5586153448b62903
parent2537a53d5cc1f992366c9b7c5ea2781cc7913f5a
pan/bi: Add bi_instr_schedulable predicate

Using the previously defined checks for architectural scheduling
constraints, define one top-level predicate to check if an instruction
on the worklist is ready for scheduling.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8354>
src/panfrost/bifrost/bi_schedule.c