mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-16 20:10:23 +01:00
panfrost: Allocate WRITE_VALUE jobs with panfrost_pool_alloc_desc()
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11695>
This commit is contained in:
parent
55ec3596f5
commit
d873045b07
1 changed files with 1 additions and 3 deletions
|
|
@ -203,9 +203,7 @@ panfrost_scoreboard_initialize_tiler(struct pan_pool *pool,
|
|||
/* Okay, we do. Let's generate it. We'll need the job's polygon list
|
||||
* regardless of size. */
|
||||
|
||||
transfer = panfrost_pool_alloc_aligned(pool,
|
||||
MALI_WRITE_VALUE_JOB_LENGTH,
|
||||
64);
|
||||
transfer = panfrost_pool_alloc_desc(pool, WRITE_VALUE_JOB);
|
||||
|
||||
pan_section_pack(transfer.cpu, WRITE_VALUE_JOB, HEADER, header) {
|
||||
header.type = MALI_JOB_TYPE_WRITE_VALUE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue