• Jason Ekstrand's avatar
    anv/wsi: Allocate enough memory for the entire image · 6c7720ed
    Jason Ekstrand authored
    Previously, we allocated memory for image->plane[0].surface.isl.size
    which is great if there is no compression.  However, on BDW, we can do
    CCS_D on X-tiled images so we also have to allocate space for the
    auxiliary buffer.  This fixes hangs in some of the WSI CTS tests and
    should also reduce hangs in real applications.  In particular, it fixes
    the dEQP-VK.wsi.*.incremental_present.* test group.
    
    When we hand the image off to X11 or Wayland, it will ignore the CCS
    entirely which is ok because we do a resolve when it's transitioned to
    VK_IMAGE_LAYOUT_PRESENT_SRC_KHR.
    Reviewed-by: Lionel Landwerlin's avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
    Cc: mesa-stable@lists.freedesktop.org
    6c7720ed
Name
Last commit
Last update
bin Loading commit data...
docs Loading commit data...
doxygen Loading commit data...
include Loading commit data...
m4 Loading commit data...
scons Loading commit data...
scripts Loading commit data...
src Loading commit data...
.dir-locals.el Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Android.common.mk Loading commit data...
Android.mk Loading commit data...
CleanSpec.mk Loading commit data...
Makefile.am Loading commit data...
REVIEWERS Loading commit data...
SConstruct Loading commit data...
VERSION Loading commit data...
appveyor.yml Loading commit data...
autogen.sh Loading commit data...
common.py Loading commit data...
configure.ac Loading commit data...
install-gallium-links.mk Loading commit data...
install-lib-links.mk Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...