mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-15 09:30:19 +01:00
panfrost: Hoist job != NULL check
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
9cee21f0c9
commit
a3c1ab2e9a
1 changed files with 1 additions and 3 deletions
|
|
@ -204,14 +204,12 @@ panfrost_job_submit(struct panfrost_context *ctx, struct panfrost_job *job)
|
|||
{
|
||||
int ret;
|
||||
|
||||
assert(job);
|
||||
panfrost_scoreboard_link_batch(job);
|
||||
|
||||
bool has_draws = job->last_job.gpu;
|
||||
bool is_scanout = panfrost_is_scanout(ctx);
|
||||
|
||||
if (!job)
|
||||
return;
|
||||
|
||||
ret = panfrost_drm_submit_vs_fs_job(ctx, has_draws, is_scanout);
|
||||
|
||||
if (ret)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue