diff options
author | Chia-I Wu <[email protected]> | 2015-03-25 12:22:40 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2015-05-02 22:14:06 +0800 |
commit | 3afbeb115ab19164fb2e5bf8df88b6d03d39254b (patch) | |
tree | 5be286989b69d920f8393c7af77e778e8111e9e9 /src/gallium/drivers/ilo/ilo_transfer.c | |
parent | ac47563cb40a79ec2bf149c6d9916a9d66361753 (diff) |
ilo: move BOs from ilo_texture to ilo_image
We want to work with ilo_image instead of ilo_texture in core.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_transfer.c')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_transfer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/ilo/ilo_transfer.c b/src/gallium/drivers/ilo/ilo_transfer.c index e80ed8bda9c..4ee33523753 100644 --- a/src/gallium/drivers/ilo/ilo_transfer.c +++ b/src/gallium/drivers/ilo/ilo_transfer.c @@ -553,9 +553,9 @@ tex_staging_sys_map_bo(struct ilo_texture *tex, if (prefer_cpu && (tex->image.tiling == GEN6_TILING_NONE || !linear_view)) - ptr = intel_bo_map(tex->bo, !for_read_back); + ptr = intel_bo_map(tex->image.bo, !for_read_back); else - ptr = intel_bo_map_gtt(tex->bo); + ptr = intel_bo_map_gtt(tex->image.bo); return ptr; } @@ -563,7 +563,7 @@ tex_staging_sys_map_bo(struct ilo_texture *tex, static void tex_staging_sys_unmap_bo(struct ilo_texture *tex) { - intel_bo_unmap(tex->bo); + intel_bo_unmap(tex->image.bo); } static bool |