panfrost: Don't emit write_value jobs on Bifrost
As on Bifrost GPUs there's a different mechanism for reusing the tiler data structures. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4505>
This commit is contained in:
@@ -25,6 +25,7 @@
|
|||||||
#include "pan_context.h"
|
#include "pan_context.h"
|
||||||
#include "pan_job.h"
|
#include "pan_job.h"
|
||||||
#include "pan_allocate.h"
|
#include "pan_allocate.h"
|
||||||
|
#include "panfrost-quirks.h"
|
||||||
#include "util/bitset.h"
|
#include "util/bitset.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -171,8 +172,10 @@ panfrost_new_job(
|
|||||||
void
|
void
|
||||||
panfrost_scoreboard_initialize_tiler(struct panfrost_batch *batch)
|
panfrost_scoreboard_initialize_tiler(struct panfrost_batch *batch)
|
||||||
{
|
{
|
||||||
|
struct panfrost_device *dev = pan_device(batch->ctx->base.screen);
|
||||||
|
|
||||||
/* Check if we even need tiling */
|
/* Check if we even need tiling */
|
||||||
if (!batch->tiler_dep)
|
if (dev->quirks & IS_BIFROST || !batch->tiler_dep)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* Okay, we do. Let's generate it. We'll need the job's polygon list
|
/* Okay, we do. Let's generate it. We'll need the job's polygon list
|
||||||
|
Reference in New Issue
Block a user