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/5995>
int ret;
/* Nothing to do! */
- if (!batch->scoreboard.first_job && !batch->clear) {
- /* Mark the fence as signaled so the fence logic does not try
- * to wait on it.
- */
- batch->out_sync->signaled = true;
+ if (!batch->scoreboard.first_job && !batch->clear)
goto out;
- }
panfrost_batch_draw_wallpaper(batch);
* will stay a bit longer.
*/
struct panfrost_context *ctx;
-
- /* Cached value of the signaled state to avoid calling WAIT_SYNCOBJs
- * when we know the fence has already been signaled.
- */
- bool signaled;
};
#define PAN_REQ_MSAA (1 << 0)