diff options
author | Chia-I Wu <[email protected]> | 2013-05-17 16:10:11 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2013-05-21 11:47:19 +0800 |
commit | a04d8574c61f286fd9ec51f667648f73e332462f (patch) | |
tree | bc2ebf14f84b8df57dbbb01eeaf66794b6bbda49 /src/gallium/drivers/ilo/ilo_transfer.c | |
parent | 1ed7b825cf3e9395dc1452059af6deb74a64f225 (diff) |
ilo: harware contexts are only for the render ring
The hardware context should not be passed for bo execution when the ring is
not the render ring. Rename hw_ctx to render_ctx for clarity.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_transfer.c')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_transfer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_transfer.c b/src/gallium/drivers/ilo/ilo_transfer.c index a3f4953d809..4d6e3262a99 100644 --- a/src/gallium/drivers/ilo/ilo_transfer.c +++ b/src/gallium/drivers/ilo/ilo_transfer.c @@ -76,7 +76,7 @@ is_bo_busy(struct ilo_context *ilo, struct intel_bo *bo, bool *need_flush) * without being referenced by ilo->cp->bo. We have to flush * unconditionally, and that is bad. */ - if (ilo->cp->hw_ctx) + if (ilo->cp->render_ctx) ilo_cp_flush(ilo->cp); return intel_bo_is_busy(bo); |