diff options
author | Chia-I Wu <[email protected]> | 2013-04-29 09:41:11 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2013-05-01 11:20:41 +0800 |
commit | bb1f635dcc8f6d817b49785edcf6ec6b46ca5405 (patch) | |
tree | 0513e91559dce627a0904abc99dd33808bc42bc5 /src/gallium/drivers/ilo/ilo_3d.c | |
parent | 355f3f7ab50ea97c63887bfcaa274edbec5bfdf0 (diff) |
ilo: add ilo_dev_info shared by the screen and contexts
The struct is used to describe the device information, such as PCI ID, GEN,
GT, and etc.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_3d.c')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_3d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_3d.c b/src/gallium/drivers/ilo/ilo_3d.c index 8d917c06b71..52a47de5bd9 100644 --- a/src/gallium/drivers/ilo/ilo_3d.c +++ b/src/gallium/drivers/ilo/ilo_3d.c @@ -497,7 +497,7 @@ ilo_texture_barrier(struct pipe_context *pipe) ilo_3d_pipeline_emit_flush(hw3d->pipeline); /* don't know why */ - if (ilo->gen >= ILO_GEN(7)) + if (ilo->dev->gen >= ILO_GEN(7)) ilo_cp_flush(hw3d->cp); } |