diff options
author | Lepton Wu <[email protected]> | 2018-07-16 18:56:32 -0700 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2018-07-17 14:56:25 +1000 |
commit | 04e278f79334c36f2afa315d3dcfcbec055a4d2a (patch) | |
tree | a28ef0fe775a6e9b8b0e6cd4333b3e050ff310de /src/gallium/drivers/i915/i915_state_derived.c | |
parent | b5db3aa6e8173600037b68e7ec4351bd2c1aade4 (diff) |
virgl: Fix flush in virgl_encoder_inline_write.
The current code is buggy: if there are only 12 dwords left in cbuf,
we emit a zero data length command which will be rejected by virglrenderer.
Fix it by calling flush in this case.
Cc: [email protected]
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/i915/i915_state_derived.c')
0 files changed, 0 insertions, 0 deletions