panfrost: Fix a list_assert() in schedule_block()
authorBoris Brezillon <boris.brezillon@collabora.com>
Tue, 27 Aug 2019 10:36:42 +0000 (12:36 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Fri, 13 Sep 2019 09:01:40 +0000 (11:01 +0200)
commit0e513ccca484c9086bdc13181e64c71fb8641649
tree3ffb7ce1609e966028c04af1303e598bd81559a6
parent2eace10c62914708c0d59b3a6151da9e1a3a817c
panfrost: Fix a list_assert() in schedule_block()

list_for_each_entry() does not allow modifying the current item pointer.
Let's rework the skip-instructions logic in schedule_block() to not
break this rule.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/panfrost/midgard/midgard_schedule.c