intel: respect tiling disable.
For testing purposes its nice to know tiling isn't being used anywhere. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
d48d584a82
commit
7a4bfaf424
|
|
@ -949,6 +949,10 @@ intel_uxa_create_pixmap(ScreenPtr screen, int w, int h, int depth,
|
|||
if (usage == UXA_CREATE_PIXMAP_FOR_MAP || usage == INTEL_CREATE_PIXMAP_TILING_NONE)
|
||||
tiling = I915_TILING_NONE;
|
||||
|
||||
/* if tiling is off force to none */
|
||||
if (!intel->tiling)
|
||||
tiling = I915_TILING_NONE;
|
||||
|
||||
if (tiling != I915_TILING_NONE) {
|
||||
if (h <= 4)
|
||||
tiling = I915_TILING_NONE;
|
||||
|
|
|
|||
Loading…
Reference in New Issue