OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a71ed9
)
intel: Fixup for the fix for relaxed tiling on gen2
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 22 Feb 2011 18:11:07 +0000
(19:11 +0100)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 22 Feb 2011 18:11:33 +0000
(19:11 +0100)
This is Fail.
First patch to libdrm, and I've borked it up.
Noticed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
intel/intel_bufmgr_gem.c
patch
|
blob
|
history
diff --git
a/intel/intel_bufmgr_gem.c
b/intel/intel_bufmgr_gem.c
index
9b324d9
..
f5ab0a6
100644
(file)
--- a/
intel/intel_bufmgr_gem.c
+++ b/
intel/intel_bufmgr_gem.c
@@
-767,7
+767,7
@@
drm_intel_gem_bo_alloc_tiled(drm_intel_bufmgr *bufmgr, const char *name,
else if (tiling == I915_TILING_Y)
height_alignment = 32;
/* i8xx has a interleaved 2-row tile layout */
- if (IS_GEN2(bufmgr_gem))
+ if (IS_GEN2(bufmgr_gem)
&& tiling != I915_TILING_NONE
)
height_alignment *= 2;
aligned_y = ALIGN(y, height_alignment);