diff options
author | Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> | 2019-12-27 13:03:22 -0500 |
---|---|---|
committer | Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> | 2019-12-27 13:03:22 -0500 |
commit | 65e5c1942a21f16ca054895490d2987b88d55fe9 (patch) | |
tree | e1b8460d353fbef5368af5f085ce01d70c856fb0 /src/gallium/drivers/panfrost | |
parent | 95ba661b4988c86447f952b11e262872c3e46a3a (diff) |
panfrost: Remove 32-bit next_job path
It has been unused for a while; let's just remove the abstraction.
Technically the hardware does support 32-bit job descriptors, but we
don't and we can't keep them from breaking so let's not pretend they
work.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Suggested-by: Boris Brezillon <boris.brezillon@collabora.com>
Diffstat (limited to 'src/gallium/drivers/panfrost')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_scoreboard.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/gallium/drivers/panfrost/pan_scoreboard.c b/src/gallium/drivers/panfrost/pan_scoreboard.c index dfd8bd2e143..927a6f61f6b 100644 --- a/src/gallium/drivers/panfrost/pan_scoreboard.c +++ b/src/gallium/drivers/panfrost/pan_scoreboard.c @@ -100,17 +100,6 @@ * */ -/* Accessor to set the next job field */ - -static void -panfrost_set_job_next(struct mali_job_descriptor_header *first, mali_ptr next) -{ - if (first->job_descriptor_size) - first->next_job_64 = (u64) (uintptr_t) next; - else - first->next_job_32 = (u32) (uintptr_t) next; -} - /* Coerce a panfrost_transfer to a header */ static inline struct mali_job_descriptor_header * @@ -452,7 +441,7 @@ panfrost_scoreboard_link_batch(struct panfrost_batch *batch) if (tail) { /* Link us to the last node */ - panfrost_set_job_next(tail, addr); + tail->next_job = addr; } else { /* We are the first/last node */ batch->first_job.cpu = (uint8_t *) n; |