mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-06-07 01:48:20 +02:00
drm/i915: Don't tile page sized bo.
Minor tweak from < to <= so that a page sized bo is also not tiled for those 32x32 pixmaps...
This commit is contained in:
parent
70ca9dd170
commit
e9b07d1946
1 changed files with 1 additions and 1 deletions
|
|
@ -1522,7 +1522,7 @@ i915_surface_create_internal (cairo_drm_device_t *base_dev,
|
|||
surface->intel.drm.stride = cairo_format_stride_for_width (surface->intel.drm.format,
|
||||
width);
|
||||
/* check for tiny surfaces for which tiling is irrelevant */
|
||||
if (height * surface->intel.drm.stride < 4096)
|
||||
if (height * surface->intel.drm.stride <= 4096)
|
||||
tiling = I915_TILING_NONE;
|
||||
|
||||
surface->intel.drm.stride = i915_tiling_stride (tiling,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue