mesa/src
Dave Airlie 35c66f3e40 radv/image: bump all the offset to uint64_t.
So one of the CTS tests tries to allocate a 16384x1 2048 array
texture. This overflows a bunch of calculations when we want it
tiled as the heights goes to 128.

addrlib returns us the correct size (16GB or so), but we mangle
it in the htile calcs due to the 32-bit offset fields, then
userspace gives us the reduced number and we try to allocate
it on a heap and things blow up.

We really need to give the app back the correct size for the
image so we can blow up properly in memory allocation later.

This should fix hangs in
dEQP-VK.pipeline.render_to_image.core.1d_array.huge.width_layers.r8g8b8a8_unorm_d32_sfloat_s8_uint
since
Fixes: ad3d98da9f (radv: enable tc compatible htile for d32s8 also.)

Now there's an open question if we should be enabling tc-compat
htile at all for shallow textures like the above.

This might cause some other wierd side effects in CTS even
without the tc compat so:
Cc: "17.2" <mesa-stable@lists.freedesktop.org>

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2017-10-17 08:28:48 +01:00
..
amd radv/image: bump all the offset to uint64_t. 2017-10-17 08:28:48 +01:00
broadcom broadcom/vc5: Don't pair VPMSETUP with other peripheral access. 2017-10-12 10:41:09 -07:00
compiler nir: add component level support to remove_unused_io_vars() 2017-10-16 09:06:53 +11:00
egl wayland-drm: constify the callbacks struct, take 2 2017-10-13 12:56:12 +01:00
gallium meson: build llvmpipe 2017-10-16 16:32:43 -07:00
gbm meson: build gbm 2017-10-09 13:42:44 -07:00
getopt
glx meson: Add support for configuring dri drivers directory. 2017-10-09 13:42:44 -07:00
gtest meson: convert gtest to an internal dependency 2017-10-03 10:02:08 -07:00
hgl
intel anv: Get rid of gen fall-through 2017-10-16 08:04:56 -07:00
loader meson: split and simplify dependencies 2017-10-16 16:32:43 -07:00
mapi mapi/shared-glapi/test: rework glapitable.h handling 2017-10-13 11:12:08 -07:00
mesa Revert "mesa: fix texture updates for ATI_fragment_shader" 2017-10-17 04:16:17 +02:00
util ralloc: Allow reparenting to a NULL context 2017-10-12 22:39:31 -07:00
vulkan meson: split and simplify dependencies 2017-10-16 16:32:43 -07:00
git_sha1.h.in meson: Build i965 and dri stack 2017-10-09 13:42:44 -07:00
Makefile.am configure: Add the new "vc5" driver to the list, requiring a simulator. 2017-10-10 11:42:04 -07:00
meson.build meson: Build gallium auxiliary 2017-10-16 16:32:43 -07:00
SConscript scons: use python3-compatible print() 2017-09-25 11:57:12 +01:00