diff options
author | Eric Anholt <[email protected]> | 2018-01-04 11:32:46 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-01-12 21:54:00 -0800 |
commit | 39ce1ab7baa6e8db1afceeee875f04190147b5d6 (patch) | |
tree | e1243b99d5757b73850a9cd7de0fefab2d19b11f /src/gallium/drivers/vc5/vc5_job.c | |
parent | c81cc767e4eef7a03dfeda2ed01565f3906b6f24 (diff) |
broadcom/vc5: Port the simulator to support V3D 4.1
This required moving the register accesses to a separate v3dx file, since
the register definitions for each V3D version collide. It seems that
initializing the v3d_hw from a file dictating 3.3
(v3d_simulator_wrapper.cpp) is safe, though.
Diffstat (limited to 'src/gallium/drivers/vc5/vc5_job.c')
-rw-r--r-- | src/gallium/drivers/vc5/vc5_job.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc5/vc5_job.c b/src/gallium/drivers/vc5/vc5_job.c index 02a7d53a99e..a5edbe7c207 100644 --- a/src/gallium/drivers/vc5/vc5_job.c +++ b/src/gallium/drivers/vc5/vc5_job.c @@ -371,6 +371,8 @@ vc5_clif_dump(struct vc5_context *vc5, struct vc5_job *job) void vc5_job_submit(struct vc5_context *vc5, struct vc5_job *job) { + MAYBE_UNUSED struct vc5_screen *screen = vc5->screen; + if (!job->needs_flush) goto done; |