diff options
author | Eric Anholt <[email protected]> | 2017-12-28 14:00:15 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-01-12 21:53:26 -0800 |
commit | 954a704da3052028da4129cc7757f5f224ee1ffc (patch) | |
tree | cedeb2a2cd22764b5b1cf9f54a545469f9287d52 /src/gallium/drivers/vc5/vc5_job.c | |
parent | 80c84241af9fbb1e23fe630c5d4fd6d266a74060 (diff) |
broadcom/vc5: Port the RCL setup to V3D4.1.
The TLB load/store path is rebuilt in this version. There is no longer a
single-byte resolved store or the 3-byte extended store. Instead, you get
to always use general loads/stores (which, honestly, was tempting even in
previous versions).
Diffstat (limited to 'src/gallium/drivers/vc5/vc5_job.c')
-rw-r--r-- | src/gallium/drivers/vc5/vc5_job.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc5/vc5_job.c b/src/gallium/drivers/vc5/vc5_job.c index 07d39f3b229..02a7d53a99e 100644 --- a/src/gallium/drivers/vc5/vc5_job.c +++ b/src/gallium/drivers/vc5/vc5_job.c @@ -382,7 +382,10 @@ vc5_job_submit(struct vc5_context *vc5, struct vc5_job *job) goto done; } - vc5_emit_rcl(job); + if (vc5->screen->devinfo.ver >= 41) + v3d41_emit_rcl(job); + else + v3d33_emit_rcl(job); if (cl_offset(&job->bcl) > 0) { vc5_cl_ensure_space_with_branch(&job->bcl, |