Mesa (11.0): 37 new commits
Emil Velikov
evelikov at kemper.freedesktop.org
Sun Sep 6 19:14:06 UTC 2015
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=271290f0774e123f221d6415e4b158e4d4b958cc
Author: Emil Velikov <emil.l.velikov at gmail.com>
Date: Sun Sep 6 19:30:23 2015 +0100
Update version to 11.0.0-rc3
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7bf27c2393e3d07f6293b30cc859a6ef2aa07212
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Thu Jul 2 18:44:18 2015 -0400
nouveau: don't mark full range as used on unmap with explicit flush
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Cc: mesa-stable at lists.freedesktop.org
(cherry picked from commit a778831735ea45f789c247c40677cd26adc78e3e)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f80a2383ea4ecdf85ea16eed1d3aac2acc0a5f4
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Mon Aug 24 11:49:05 2015 -0400
nv50: avoid using inline vertex data submit when gl_VertexID is used
The hardware only generates vertexid when vertices come from a VBO. This
fixes:
vertexid-drawelements
vertexid-drawarrays
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Cc: "11.0" <mesa-stable at lists.freedesktop.org>
(cherry picked from commit c830d193db5c90cf0af57ff73606e2aa12aed9a8)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e1fde76b6eea459ff4a22231c1d3cc73d9b6f9a
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Fri Jul 3 20:32:53 2015 -0400
nv50: don't flush vertex arrays when index buffer changes
The index buffer is fed in inline over a pushbuf. It's not related to
vertices or any caching that might be done on them.
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Cc: mesa-stable at lists.freedesktop.org
(cherry picked from commit 4a025c6bc835387a31007fdf30a130e612e54e19)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=747e1b03bfac3e32878a6f68002b5bb83194fad3
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Fri Jul 3 20:16:48 2015 -0400
nv50: rebind bo to bufctx when invalidating idxbuf storage
There is nothing to be done on a dirty idxbuf, but the bo may have
changed, so we have to rebind it to the bufctx.
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Cc: mesa-stable at lists.freedesktop.org
(cherry picked from commit 1f62d36ae21043c472fc182fd4b738ec1d54a2d2)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b85ec1e34b317accd7f69bb5f23bf9a7a8d84561
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Fri Jul 3 19:21:21 2015 -0400
nv50: clear buffer status on all vertex bufs, not just the first one
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Cc: mesa-stable at lists.freedesktop.org
(cherry picked from commit 114cc18b98b6e016ab1986577aa3df12acc22cca)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=acb822f1bdb7f8f812d6b3f1196b5913c066e15a
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Thu Jan 1 06:09:59 2015 -0500
nv50: fix drawing from tfb, direct-to-pushbuf submits
The stride was being set to 0, which is illegal (and also non-sensical).
Also we must wait for the buffer to become available for reading as
otherwise a wrong value may be prefetched. Since we must wait for the
buffer anyways, and it's mapped and in GART, we may as well avoid the
annoyance of the indirect pushbuf submit.
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Cc: mesa-stable at lists.freedesktop.org
(cherry picked from commit 75e34d1df8b0ab56e5e658b8ef90ff6057ec954e)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ddf459492d04df02c9e3ed6471de0b21269694a4
Author: Oded Gabbay <oded.gabbay at gmail.com>
Date: Thu Sep 3 19:00:26 2015 +0300
llvmpipe: convert double to long long instead of unsigned long long
round(val*dscale) produces a double result, as val and dscale are double.
However, LLVMConstInt receives unsigned long long, so there is an
implicit conversion from double to unsigned long long.
This is an undefined behavior. Therefore, we need to first explicitly
convert the round result to long long, and then let the compiler handle
conversion from that to unsigned long long.
This bug manifests itself in POWER, where all IMM values of -1 are being
converted to 0 implicitly, causing a wrong LLVM IR output.
Signed-off-by: Oded Gabbay <oded.gabbay at gmail.com>
CC: "10.6 11.0" <mesa-stable at lists.freedesktop.org>
Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
Reviewed-by: Roland Scheidegger <sroland at vmware.com>
(cherry picked from commit 4f2290d1612569686284609059d29a85c9de67cf)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fcdaa190e558241607595d91cb1e6aa9e28746fc
Author: Hans de Goede <hdegoede at redhat.com>
Date: Thu Sep 3 12:38:01 2015 +0200
nv30: Implement color resolve for msaa
Note this is not ideal. Since the sifm can only do source sizes upto
1024x1024 we end up using the blitter on nv4x, which is not that fast.
And on nv3x we end up using the cpu which is really slow.
Cc: "10.6 11.0" <mesa-stable at lists.freedesktop.org>
Signed-off-by: Hans de Goede <hdegoede at redhat.com>
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
(cherry picked from commit 3c6c4d4f298ec81fe57992790a68aaab2e573519)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0abcd9c8fcc74428299630fa96bc51551b952324
Author: Hans de Goede <hdegoede at redhat.com>
Date: Wed Aug 12 13:39:42 2015 +0200
nv30: Fix creation of scanout buffers
Scanout buffers on nv30 must always be non-swizzled and have special
width alignment constraints.
These constrains have been taken from the xf86-video-nouveau
src/nv_accel_common.c: nouveau_allocate_surface() function.
nouveau_allocate_surface() applies these width constraints only when a
tiled attribute is set, which it sets for all surfaces allocated via
dri, and this "tiling" is not the same as swizzling, scanout surfaces
must be linear / have a uniform_pitch or only complete garbage is shown.
This commit fixes dri3 on nv30 showing a garbled display, with dri3 the
scanout buffers are allocated by mesa, rather then by the ddx, and the
wrong stride of these buffers was causing the garbled display.
Cc: "10.6 11.0" <mesa-stable at lists.freedesktop.org>
Signed-off-by: Hans de Goede <hdegoede at redhat.com>
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
(cherry picked from commit 3329703eb116a7ad73bc694356b43e014532240b)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b14d3586338f304e2816e3395cdcc940d6073c1
Author: Boyan Ding <boyan.j.ding at gmail.com>
Date: Wed Aug 26 19:52:50 2015 +0800
vc4: Initialize pack field of qreg to 0 in qir_get_temp
This avoids generation of undefined packing in qir and qpu instructions,
fixing a lot of rendering errors.
Fixes 8b36d107fdd (vc4: Pack the unorm-packing bits into a src MUL
instruction when possible.)
Cc: mesa-stable at lists.freedesktop.org
Signed-off-by: Boyan Ding <boyan.j.ding at gmail.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
(cherry picked from commit 48de40ce9c45de154965490843f9e50407970c26)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a6710090af7bfda005388d9ee8f108b3aeb15e57
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Fri Sep 4 19:02:28 2015 +0100
i965: Disallow PixelTransfer operations for tiled-memcpy TexImage/ReadPixels
The tiled memcpy fast paths perform a simple blit (with only a couple of
trivial pixel conversion routines) and do not accommodate PixelTransfer
operations. Therefore if any are set, fallback to the regular routines.
Note that PixelTransfer only applies to TexImage and ReadPixels, not to
GetTexImage.
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Cc: Jason Ekstrand <jason.ekstrand at intel.com>
Cc: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Jason Ekstrand <jason.ekstrand at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Cc: mesa-stable at lists.freedesktop.org
(cherry picked from commit 099f5b3a62be1919add02a4cb887841c9f0f2fe4)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c98ba7abffd91a127c7bc5cc0ceaa1f2d2106fd
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Wed Sep 2 16:39:27 2015 -0700
i965: Fix copy propagation type changes.
commit 472ef9a02f2e5c5d0caa2809cb736a0f4f0d4693 introduced code to
change the types of SEL and MOV instructions for moves that simply
"copy bits around". It didn't account for type conversion moves,
however. So it would happily turn this:
mov(8) vgrf6:D, -vgrf5:D
mov(8) vgrf7:F, vgrf6:UD
into this:
mov(8) vgrf6:D, -vgrf5:D
mov(8) vgrf7:D, -vgrf5:D
which erroneously drops the conversion to float.
Cc: "11.0 10.6" <mesa-stable at lists.freedesktop.org>
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Jason Ekstrand <jason.ekstrand at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
(cherry picked from commit 2ace64fd598816fd1be9877962734242fc27b87b)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=eef8258a86b6df103cb31cfa6feeddc32ac4eb95
Author: Marek Olšák <marek.olsak at amd.com>
Date: Tue Sep 1 04:14:43 2015 +0200
winsys/radeon: remove exported buffers from the cache
Cc: 11.0 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
(cherry picked from commit efea7c3a3f91219db6e2fa3588388b6be4ecfa40)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=747cd2c27382f4cdd1cb9149447b677af340335e
Author: Marek Olšák <marek.olsak at amd.com>
Date: Tue Sep 1 04:14:33 2015 +0200
winsys/amdgpu: remove exported buffers from the cache
Cc: 11.0 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
(cherry picked from commit 54964c77510b060806615c842692c0f393e807e6)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ecdd69cd0509119adfd01c4fed512609963d0720
Author: Marek Olšák <marek.olsak at amd.com>
Date: Tue Sep 1 04:07:54 2015 +0200
gallium/pb_bufmgr_cache: add a way to remove buffers from the cache explicitly
This must be done before exporting a buffer as dmabuf fds, because
we lose track of who is using it and can't trust the reference counter.
Cc: 11.0 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
(cherry picked from commit 35d0f12797237cdd38e7fd2c39d3c19e875875ca)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=74fa10693227c08d227957e9544f60ee68b5762c
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Wed Sep 2 10:42:57 2015 -0700
glsl: Handle attribute aliasing in attribute storage limit check.
In various versions of OpenGL and GLSL, it's possible to declare
multiple VS input variables with aliasing attribute locations.
So, when computing the storage requirements for vertex attributes,
we can't simply add up the sizes. Instead, we need to look at the
enabled slots.
This patch begins tracking which attributes are double types that
are larger than 128-bits (i.e. take up two vec4 slots). We then
count normal attributes once, and count the double-size attributes
a second time.
Fixes deQP functional.attribute_location.bind_aliasing.max_cond_* tests
on i965, which regressed with commit ad208d975a6d3aebe14f7c2c16039ee20.
No Piglit changes on llvmpipe (which actually supports dvecs).
Cc: "10.6 11.0" <mesa-stable at lists.freedesktop.org>
Tested-by: Mark Janes <mark.a.janes at intel.com>
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Dave Airlie <airlied at redhat.com>
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
(cherry picked from commit c3294ca5a13cf3f0eb3d9907a46ff8ce4bc2963b)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1153420017873011a91367a4fd81cad6a3878023
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Aug 31 18:44:42 2015 -0700
mesa: Don't allow wrong type setters for matrix uniforms
Previously we would allow glUniformMatrix4fv on a dmat4 and
glUniformMatrix4dv on a mat4. Both are illegal. That later also
overwrites the storage for the mat4 and causes bad things to happen.
Should fix the (new) arb_gpu_shader_fp64-wrong-type-setter piglit test.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Timothy Arceri <t_arceri at yahoo.com.au>
Cc: Dave Airlie <airlied at redhat.com>
Cc: "10.6 11.0" <mesa-stable at lists.freedesktop.org>
(cherry picked from commit 7237c937af3b495191bee2f7240901e3a9daf1fb)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5704d473c8d4b58aa51b521d23a6e2fdd79a0bfc
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Aug 31 18:30:48 2015 -0700
mesa: Pass the type to _mesa_uniform_matrix as a glsl_base_type
This matches _mesa_uniform, and it enables the bug fix in the next
patch.
v2: s/type/basicType/ in the assert in _mesa_uniform_matrix.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Timothy Arceri <t_arceri at yahoo.com.au> [v1]
Cc: Dave Airlie <airlied at redhat.com>
Cc: "10.6 11.0" <mesa-stable at lists.freedesktop.org>
(cherry picked from commit a6976f09727014730f45ec27c714c6a8140e074a)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb2b88c44b526d785800ca926afde5df1020382a
Author: Matt Turner <mattst88 at gmail.com>
Date: Tue Sep 1 22:00:24 2015 -0700
i965/fs: Handle MRF destinations in lower_integer_multiplication().
The lowered code reads from the destination, which isn't possible from
message registers.
Fixes the following dEQP tests on SNB:
dEQP-GLES3.functional.shaders.precision.int.highp_mul_fragment
dEQP-GLES3.functional.shaders.precision.int.mediump_mul_fragment
dEQP-GLES3.functional.shaders.precision.int.lowp_mul_fragment
Cc: "10.6 11.0" <mesa-stable at lists.freedesktop.org>
Tested-by: Mark Janes <mark.a.janes at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Jason Ekstrand <jason.ekstrand at intel.com>
(cherry picked from commit 9390cb84593bda516e8c1521c87a08475574d1be)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5c08afc894a66fa51eb8531a93d4e9f8b7b74edd
Author: Dave Airlie <airlied at redhat.com>
Date: Tue Sep 1 15:57:02 2015 +1000
mesa/readpixels: check strides are equal before skipping conversion
The CTS packed_pixels test checks that readpixels doesn't write
into the space between rows, however we fail that here unless
we check the format and stride match.
This fixes all the core mesa problems with CTS packed_pixels
tests.
Cc: "11.0" <mesa-stable at lists.freedesktop.org>
Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>
Signed-off-by: Dave Airlie <airlied at redhat.com>
(cherry picked from commit 32769ac016dee4ce5767a922f91de47df4ce984d)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5fb758a418e64e1967785bca964c57e81034a884
Author: Dave Airlie <airlied at redhat.com>
Date: Tue Sep 1 15:44:46 2015 +1000
texcompress_s3tc/fxt1: fix stride checks (v1.1)
The fastpath currently checks the RowLength != width, but
if you have a RowLength of 7, and Alignment of 4, then
that shouldn't match.
align the rowlength to the pack alignment before comparing.
This fixes compressed cases in CTS packed_pixels_pixelstore
test when SKIP_PIXELS is enabled, which causes row length
to get set.
v1.1: add fxt1 fix (Iago)
Cc: "11.0" <mesa-stable at lists.freedesktop.org>
Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>
Signed-off-by: Dave Airlie <airlied at redhat.com>
(cherry picked from commit b4a70401f52e5d7e08c94715b250ea1de8f63d15)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb378249594f860b97d91d51956c019b2d111a05
Author: Dave Airlie <airlied at redhat.com>
Date: Tue Sep 1 15:13:45 2015 +1000
st/readpixels: fix accel path for skipimages.
We don't need to use the 3d image address here as that will
include SKIP_IMAGES, and we are only blitting a single
2D anyways, so just use the 2D path.
This fixes some memory overruns under CTS
packed_pixels.packed_pixels_pixelstore when PACK_SKIP_IMAGES
is used.
Cc: "11.0" <mesa-stable at lists.freedesktop.org>
Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>
Signed-off-by: Dave Airlie <airlied at redhat.com>
(cherry picked from commit 6a3e1fb958778e00e8fe2d860b6327fc4409c148)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8fc2cbb00e08986b5962e6cbb13c3155a17b9f05
Author: Dave Airlie <airlied at redhat.com>
Date: Thu Jul 30 02:48:37 2015 +0100
mesa/formats: 8-bit channel integer formats addition
Add enough 8-bit channel formats to handle all the
different things CTS throws at us.
Cc: "11.0" <mesa-stable at lists.freedesktop.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
Signed-off-by: Dave Airlie <airlied at redhat.com>
(cherry picked from commit c3c242070e868225a81e1afe5fb424c33eb94c2f)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b497b88dbe6001f11e3e12da1eac1595ab08a6f6
Author: Dave Airlie <airlied at redhat.com>
Date: Thu Jul 30 02:48:36 2015 +0100
mesa/formats: add some formats from GL3.3
GL3.3 added GL_ARB_texture_rgb10_a2ui, which specifies
a lot more things than just rgb10/a2ui.
While playing with ogl conform one of the tests must
attempted all valid formats for GL3.3 and hits the
unreachable here.
This adds the first chunk of formats that hit the
assert.
Cc: "11.0" <mesa-stable at lists.freedesktop.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
Signed-off-by: Dave Airlie <airlied at redhat.com>
(cherry picked from commit 8185a02316cfb7dc3d64b8772af82ad2bb49754e)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=dcb220f2f700bba0709fa246417f1e89676acbbb
Author: Dave Airlie <airlied at gmail.com>
Date: Tue Aug 25 21:13:13 2015 +1000
mesa: handle SwapBytes in compressed texture get code.
This case just wasn't handled, so add support for it.
Cc: "11.0" <mesa-stable at lists.freedesktop.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
Signed-off-by: Dave Airlie <airlied at redhat.com>
(cherry picked from commit 5b6c7da460b8f6c908df7060ec0709a9848ce160)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d9534e4785b26a0c65153dad934ab8a03723d89c
Author: Dave Airlie <airlied at redhat.com>
Date: Tue Aug 25 14:36:01 2015 +1000
mesa: fix SwapBytes handling in numerous places
In a number of places the SwapBytes handling didn't handle cases with
GL_(UN)PACK_ALIGNMENT set and 7 byte width cases aligned to 8 bytes.
This adds a common routine to swap bytes a 2D image and uses this
code in:
texture storage
texture get
readpixels
swrast drawpixels.
[airlied: updated with Brian's nitpicks].
Cc: "11.0" <mesa-stable at lists.freedesktop.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
Signed-off-by: Dave Airlie <airlied at redhat.com>
(cherry picked from commit 0ad3a475ef81dad3baf607d749b91dfa1700ca23)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=63b4e6bfc931d0da1a31389f7f44e297c988971d
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Aug 30 03:44:03 2015 +0200
radeonsi: fix memory usage checking for big IBs
Cc: 11.0 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
(cherry picked from commit 05af645a951fd985d0dbe3c22614e1dee8dfb3f0)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a5dee22767c4ea133b93dcbae16c0d08f161e8e1
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Aug 30 00:12:03 2015 +0200
radeonsi: set all 16 viewport Z bounds for GL 4.1
Cc: 11.0 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
(cherry picked from commit 08775a219628611989ab87c621255ac3c841dcda)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1aea7812b0c55f82d0411cefba8a821d7b84b504
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sat Aug 29 22:59:23 2015 +0200
radeonsi: fix a Unigine Heaven hang when drirc is missing
Cc: 10.6 11.0 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Acked-by: Christian König <christian.koenig at amd.com>
(cherry picked from commit 9b510a9652297a63677f1d55b2bf444694fd94e1)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f0180a37d79a881b02d164f4f9ff22143928cbaf
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Sat Jun 6 09:33:33 2015 +0100
i965: Prevent coordinate overflow in intel_emit_linear_blit
Fixes regression from
commit 8c17d53823c77ac1c56b0548e4e54f69a33285f1
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Wed Apr 15 03:04:33 2015 -0700
i965: Make intel_emit_linear_blit handle Gen8+ alignment restrictions.
which adjusted the coordinates to be relative to the nearest cacheline.
However, this then offsets the coordinates by up to 63 and this may then
cause them to overflow the BLT limits. For the well aligned large
transfer case, we can use 32bpp pixels and so reduce the coordinates by
4 (versus the current 8bpp pixels). We also have to be more careful
doing the last line just in case it may exceed the coordinate limit.
Reported-and-tested-by: kaillasse91 at hotmail.fr
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90734
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Cc: Kenneth Graunke <kenneth at whitecape.org>
Cc: Ian Romanick <ian.d.romanick at intel.com>
Cc: Anuj Phogat <anuj.phogat at gmail.com>
Cc: mesa-stable at lists.freedesktop.org
Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>
(cherry picked from commit d38a5601068ae1d923efece8f28757777f4474e4)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe77d714f28fa876d3c863bd2c019282703eee0d
Author: Dave Airlie <airlied at redhat.com>
Date: Tue Sep 1 12:29:58 2015 +1000
r600g: fix calculation for gpr allocation
I've been chasing a geom shader hang on rv635 since I wrote
r600 geom code, and finally I hacked some values from fglrx
in and I could run texelfetch without failures.
This is totally my fault as well, maths fail 101.
This makes geom shaders on r600 not fail heavily.
Cc: "10.6" "11.0" <mesa-stable at lists.freedesktop.org>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Reviewed-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Signed-off-by: Dave Airlie <airlied at redhat.com>
(cherry picked from commit 0de53ccc8cbee0f63ba25c9e72664b3cbd31be54)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fb119b22602afb9e137c3c59d9b846ea9a46356a
Author: Dave Airlie <airlied at redhat.com>
Date: Mon Aug 31 14:22:23 2015 +1000
r600/sb: update last_cf for finalize if.
As Glenn did for finalize_loop we need to update_cf when we
add a POP at the end of a shader.
I think this fixes one of the earlier shader going off end
of memory problems we've stopped.
Reviewed-by: Glenn Kennard <glenn.kennard at gmail.com>
Cc: "10.6" "11.0" <mesa-stable at lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied at redhat.com>
(cherry picked from commit 3063913f77cd2db1a263cb824a5c8c3dcc1a51a0)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=50306a33b4eef89e735fc2dedf6f6540a445290c
Author: Alexander von Gluck IV <kallisti5 at unixzen.com>
Date: Tue Aug 18 20:47:59 2015 -0500
egl: scons: fix the haiku build, do not build the dri2 backend
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
(cherry picked from commit 5abbd1caccf4653ac1a8760de68d8ed101c814d8)
Fixes: 78674631a2d(egl: remove the non-haiku scons build)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cf007af859119efe44566fa00dbd9b8ee13dca16
Author: Rob Clark <robclark at freedesktop.org>
Date: Sat Aug 15 11:57:22 2015 -0400
freedreno/a4xx: formats update
Fixes glamor, which wants to use R8 integer textures.
Signed-off-by: Rob Clark <robclark at freedesktop.org>
(cherry picked from commit 000e225360c020e8b3de142c4c898baad321d242)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d576419b2aeffdc1b3b88b12b66a8f548a5c505
Author: Rob Clark <robclark at freedesktop.org>
Date: Mon Aug 24 12:58:08 2015 -0400
freedreno: update generated headers
Signed-off-by: Rob Clark <robclark at freedesktop.org>
(cherry picked from commit afb6c24a207fe7b9917644b940e4c5d1870c5c92)
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=893caebf44b4f1c8484c50d95bd8b719e6a07a3a
Author: Dave Airlie <airlied at redhat.com>
Date: Sun Aug 30 20:40:31 2015 +1000
r600: move prim convert from geom shader to function.
This should avoid C++ fail including this header.
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Signed-off-by: Dave Airlie <airlied at redhat.com>
(cherry picked from commit 03b7ec877843cd622717b01c1047e08baf34facf)
Fixes: 69418831756 (r600: port si_conv_prim_to_gs_out from radeonsi)
Nominated-by: Marek Olšák <marek.olsak at amd.com>
More information about the mesa-commit
mailing list