diff options
author | Chia-I Wu <[email protected]> | 2014-09-22 23:32:18 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2014-09-23 10:08:05 +0800 |
commit | 34e807817fb06b800f588b7e966e579110afeb2d (patch) | |
tree | 00a15643a28cfefd390dcc6e0730991c5f6ea5ae /m4 | |
parent | 2c1f978d6c70dcf1cb854560572a5bca4da1da88 (diff) |
ilo: remove handle_invalid_batch_bo()
It was used to set has_gen6_wa_pipe_control to false when the batch buffer
changed. When called from emit_flush() and others, it also unset
ILO_3D_PIPELINE_INVALIDATE_BATCH_BO so that the following emit_draw() will not
set has_gen6_wa_pipe_control to false again. It sounded error-prone and was
just ugly.
We should be able to achieve the same goal by reset has_gen6_wa_pipe_control
in ilo_3d_pipeline_invalidate(). With handle_invalid_batch_bo() gone, the
emit functions can also be inlined.
Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions