projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01e2932
)
anv: Fix anv_gem_set_tiling to respect tiling param
author
Chad Versace
<chad.versace@intel.com>
Mon, 7 Dec 2015 16:42:11 +0000
(08:42 -0800)
committer
Chad Versace
<chad.versace@intel.com>
Mon, 7 Dec 2015 16:42:11 +0000
(08:42 -0800)
Function anv_gem_set_tiling() ignored its 'tiling' parameter. It
unconditionally set the bo's tiling to I915_TILING_X.
src/vulkan/anv_gem.c
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_gem.c
b/src/vulkan/anv_gem.c
index b815f97ed69de9d66db45fc1e28e9b238ae86137..9d0d03320017d844ccbcbc2fca6e91f7b664db5e 100644
(file)
--- a/
src/vulkan/anv_gem.c
+++ b/
src/vulkan/anv_gem.c
@@
-202,7
+202,7
@@
anv_gem_set_tiling(struct anv_device *device,
do {
VG_CLEAR(set_tiling);
set_tiling.handle = gem_handle;
- set_tiling.tiling_mode =
I915_TILING_X
;
+ set_tiling.tiling_mode =
tiling
;
set_tiling.stride = stride;
ret = ioctl(device->fd, DRM_IOCTL_I915_GEM_SET_TILING, &set_tiling);