freedreno: adds nondraw param to fd_bc_alloc_batch
authorHyunjun Ko <zzoon@igalia.com>
Wed, 17 Oct 2018 12:57:27 +0000 (21:57 +0900)
committerRob Clark <robdclark@gmail.com>
Wed, 17 Oct 2018 16:44:48 +0000 (12:44 -0400)
commit2385d7b06683e00984f05d32cd2b9e940fefd5af
tree1694859d095aecbb8ea564dcb5f6ab5a06571308
parent9e6019bd46902987c677bb19142e7cc89e43d2b9
freedreno: adds nondraw param to fd_bc_alloc_batch

Needs to specify nondraw when creating a batch through
fd_bc_alloc_batch since it'd better create a batch through
it rather than fd_batch_create.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a6xx/fd6_blitter.c
src/gallium/drivers/freedreno/freedreno_batch_cache.c
src/gallium/drivers/freedreno/freedreno_batch_cache.h
src/gallium/drivers/freedreno/freedreno_context.c