-
3a67ca68
by Emil Velikov
at 2018-01-09T16:08:51+00:00
docs: add sha256 checksums for 17.3.2
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-
7295b97d
by Juan A. Suarez Romero
at 2018-01-12T21:38:08+01:00
cherry-ignore: intel/fs: Use the original destination region for int MUL lowering
regression: The commit is causing a regression
(https://bugs.freedesktop.org/show_bug.cgi?id=103626)
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
-
b5bdc368
by Lucas Stach
at 2018-01-12T21:38:08+01:00
etnaviv: disable in-place resolve for non-supertiled surfaces
The in-place resolve probably has some additional restrictions when not
operating on a super tiled surface. Disable it on non-supertiled surfaces
for now to work around a GPU hang.
Fixes: 78ade659569e ("etnaviv: Do GC3000 resolve-in-place when possible")
Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
(cherry picked from commit 0158565924564ec2edca7acd0ccbc33a369ea50d)
-
23539c0f
by Alex Smith
at 2018-01-12T21:38:08+01:00
anv: Add missing unlock in anv_scratch_pool_alloc
Fixes hangs seen due to the lock not being released here.
Signed-off-by: Alex Smith <asmith@feralinteractive.com>
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
(cherry picked from commit 00a81e9909365065545a3c2dc362b645a8238fb2)
-
6aea5543
by Tim Rowley
at 2018-01-12T21:38:08+01:00
swr/rast: fix invalid sign masks in avx512 simdlib code
Should be 0x80000000 instead of 0x8000000.
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
(cherry picked from commit 396c006d907b023f9b187db618ee2a6e4e1b8a85)
-
b8ecf45c
by Alex Smith
at 2018-01-12T21:38:08+01:00
anv: Take write mask into account in has_color_buffer_write_enabled
If we have a color attachment, but its writes are masked, this would
have still returned true. This is inconsistent with how HasWriteableRT
in 3DSTATE_PS_BLEND is set, which does take the mask into account.
This could lead to PixelShaderHasUAV not being set in 3DSTATE_PS_EXTRA
if the fragment shader does use UAVs, meaning the fragment shader may
not be invoked because HasWriteableRT is false. Specifically, this was
seen to occur when the shader also enables early fragment tests: the
fragment shader was not invoked despite passing depth/stencil.
Fix by taking the color write mask into account in this function. This
is consistent with how things are done on i965.
Signed-off-by: Alex Smith <asmith@feralinteractive.com>
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
(cherry picked from commit 12f4e00b69e724a23504b7bd3958fb75dc462950)
-
590b9b79
by Kenneth Graunke
at 2018-01-12T21:38:08+01:00
i965: Require space for MI_BATCHBUFFER_END.
intel_batchbuffer_emit_dword doesn't reserve space for the DWord it
emits. In the past, we had some reserved batch space to ensure this
worked. With the switch to growing batches, we need to actually request
space so that we grow if necessary.
Fixes: 2c46a67b4138631217141f (i965: Delete BATCH_RESERVED handling.)
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
(cherry picked from commit 1c9f1a28c0738a0b1cb8626af431d18eeee3f4f1)
-
3a31b5c0
by Kenneth Graunke
at 2018-01-12T21:38:08+01:00
i965: Torch public intel_batchbuffer_emit_dword/float helpers.
intel_batchbuffer_emit_float is dead code, it should go.
intel_batchbuffer_emit_dword only had one user, which had bungled using
them by forgetting to call intel_batchbuffer_require_space first. So it
seems wise to delete these unsafe helpers.
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
(cherry picked from commit be144e251c548b45d0c4f9eb757a21110a73725b)
-
6028fa79
by Alex Smith
at 2018-01-12T21:38:08+01:00
anv: Make sure state on primary is correct after CmdExecuteCommands
After executing a secondary command buffer, we need to update certain
state on the primary command buffer to reflect changes by the secondary.
Otherwise subsequent commands may not have the correct state set.
This fixes various issues (rendering errors, GPU hangs) seen after
executing secondary command buffers in some cases.
v2 (Jason Ekstrand):
- Reset to invalid values instead of pulling from the secondary
- Change the comment to be more descriptive
Signed-off-by: Alex Smith <asmith@feralinteractive.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Cc: mesa-stable@lists.freedesktop.org
(cherry picked from commit 4fd85617c176e9222f84fda7634a74d060e982b1)
-
d37962a5
by Juan A. Suarez Romero
at 2018-01-12T21:38:08+01:00
cherry-ignore: i965/fs: Use UW types when using V immediates
fixes: The commit addresses earlier commit 6132992cdb which did not land
in branch.
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
-
23cb8763
by Samuel Iglesias Gonsálvez
at 2018-01-12T21:38:09+01:00
anv: VkDescriptorSetLayoutBinding can have descriptorCount == 0
>From Vulkan spec:
"descriptorCount is the number of descriptors contained in the binding,
accessed in a shader as an array. If descriptorCount is zero this
binding entry is reserved and the resource must not be accessed from
any stage via this binding within any pipeline using the set layout."
Fixes:
dEQP-VK.binding_model.descriptor_update.empty_descriptor.uniform_buffer
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable@lists.freedesktop.org
(cherry picked from commit e63adf8b1ea56c9c2d0794f563bced765fb8300a)
-
0a6e595f
by Juan A. Suarez Romero
at 2018-01-12T21:38:09+01:00
cherry-ignore: main: Clear shader program data whenever ProgramBinary is called
extra: The commit just references a fix for an additional change in its
v2.
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
-
b9d5aab9
by Juan A. Suarez Romero
at 2018-01-12T21:38:09+01:00
cherry-ignore: egl: pass the dri2_dpy to the $plat_teardown functions
fixes: The commit addresses earlier commits 40a01c9a0ef and 8d745abc009
which did not land in branch.
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
-
b0e50e1e
by Bas Nieuwenhuizen
at 2018-01-12T21:38:09+01:00
radv: Invert condition for all samples identical during resolve.
the samples_identical instruction returns 0 if they are differet, so
we have to do the extra work if the result is 0, not if it is != 0.
Fixes: f4e499ec791 "radv: add initial non-conformant radv vulkan driver"
Reviewed-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit c39947ce3046d4339305f2bcecba2617b90edb71)
-
f378cd34
by Bas Nieuwenhuizen
at 2018-01-12T21:38:09+01:00
radv: Flush caches before subpass resolve.
Fixes: f4e499ec791 "radv: add initial non-conformant radv vulkan driver"
Reviewed-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit cebc9a119d44cb5b2b3bd5e262452e112b75fea2)
-
925aa772
by Bas Nieuwenhuizen
at 2018-01-12T21:38:09+01:00
radv: Fix fragment resolve destination offset.
The position start at (dst.x, dst.y), so if we want the source to
start at (src.x, src.y), we have to offset by (src.x-dst.x,src.y-dst.y).
Haven't tested that this fixed anything yet, but found by inspection.
Fixes: 69136f4e633 "radv/meta: add resolve pass using fragment/vertex shaders"
Reviewed-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit 73279da41dae991afc5d4e4dbe51542060e21c59)
-
f8dca92c
by Bas Nieuwenhuizen
at 2018-01-12T21:38:09+01:00
radv: Use correct framebuffer size for partial FS resolves.
Framebuffer is from 0,0, not (dst.x, dst.y).
Fixes: 69136f4e633 "radv/meta: add resolve pass using fragment/vertex shaders"
Reviewed-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit da192b50b246af80b87050ac75848dfac3c0afb0)
-
8a39fdd7
by Bas Nieuwenhuizen
at 2018-01-12T21:38:09+01:00
radv: Always use fragment resolve if dest uses DCC.
HW resolve does not support it either.
Fixes: 2a04f5481df "radv/meta: select resolve paths"
Reviewed-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit a636208ace00e5ba7ddb331362b3e95fd4cea422)
-
bce28365
by Juan A. Suarez Romero
at 2018-01-12T21:38:09+01:00
cherry-ignore: vulkan/wsi: free cmd pools
fixes: The commit addresses earlier commit d50937f137 which did not land
in branch.
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
-
6b16c99f
by Dave Airlie
at 2018-01-12T21:38:09+01:00
radv: fix events on compute queues.
The event emission wasn't sending the correct packet for gfx8 compute
queues, which explains why it works on vega fine.
This fixes the mpv vulkan hang.
Fixes: ad61eac250 (radv: factor out eop event writing code. (v2))
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit 38e4467e99ad4ea6661ef0cfc54a9942bb872f66)
-
27819a4f
by Dave Airlie
at 2018-01-12T21:38:09+01:00
radv: fix pipeline statistics end query on compute queue
It's legal to a pipeline stat query on a compute queue,
but we'd emit the wrong packet here. This should fix it to emit
the correct packet.
Noticed while inspecting the mpv hang.
Fixes: ad61eac250 (radv: factor out eop event writing code. (v2))
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit ec1edd0fd29e50fae4aadde152d534a371ba8f6b)
-
89dbb6e0
by Dave Airlie
at 2018-01-12T21:38:09+01:00
radv/gfx9: fix 3d image to image transfers on compute queues.
This fixes some of the broken:
dEQP-VK.synchronization.op.multi_queue.*64x64x8* tests.
Fixes: e38685cc62e 'Revert "radv: disable support for VEGA for now."'
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit d08f2678145018763570900f38e4c95b67378df0)
-
ad6bcb69
by Dave Airlie
at 2018-01-12T21:38:09+01:00
radv/gfx9: fix 3d image clears on compute queues
This fixes some of the broken:
dEQP-VK.synchronization.op.multi_queue.*64x64x8* tests.
Fixes: e38685cc62e 'Revert "radv: disable support for VEGA for now."'
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit 09612a62e169c7d918e6578408166c1f32db8bc4)
-
8b628a17
by Dave Airlie
at 2018-01-12T21:38:09+01:00
radv/gfx9: fix buffer to image for 3d images on compute queues
This fixes some of the broken:
dEQP-VK.synchronization.op.multi_queue.*64x64x8* tests.
Fixes: e38685cc62e 'Revert "radv: disable support for VEGA for now."'
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit 420627e6e79fe96504bbef463433bb827e597d84)
-
419551fb
by Dave Airlie
at 2018-01-12T21:38:09+01:00
radv/gfx9: fix block compression texture views.
This ports a fix from amdvlk, to fix the sizing for mip levels
when block compressed images are viewed using uncompressed views.
Fixes:
dEQP-VK.image.texel_view_compatible.graphic.extended*bc*
Fixes: e38685cc62e 'Revert "radv: disable support for VEGA for now."'
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit 59515780433837ad3975f8ed20b93cf2fe6870e5)
-
f82c02f1
by Dave Airlie
at 2018-01-12T21:38:09+01:00
radv/gfx9: use a bigger hammer to flush cb/db caches.
amdvlk is probably more subtle than this but it never uses
the inv cb/db variants, we fail some CTS tests without this.
Fixes:
dEQP-VK.renderpass.dedicated_allocation.formats.d32_sfloat_s8_uint.input*.
Fixes: c2fbeb7ca05 (radv: add GFX9 cache flushing support.)
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> (for now :-)
Signed-off-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit 868377ab33e09a211ddc9f0ca82b15e7b40dd95b)
-
b8296fc4
by Dave Airlie
at 2018-01-12T21:38:09+01:00
radv/gfx9: use correct swizzle parameter to work out border swizzle.
This should fix:
dEQP-VK.pipeline.sampler.view_type.*.format.b4g4r4a4_unorm_pack16.address_modes.all_mode_clamp_to_border_opaque_black
and a few others in that area.
Fixes: b11c4a5546 (radv: add texture descriptor/fmask/cmask support for GFX9)
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit a4c23ce1b68bce0e0393f8355c0a91d52a90bdbd)
-
d16639bd
by Bas Nieuwenhuizen
at 2018-01-12T21:38:09+01:00
Revert "radv/gfx9: fix block compression texture views."
This reverts commit 59515780433837ad3975f8ed20b93cf2fe6870e5.
The mentioned commit causes a hang in DoW3 on Vega.
Fixes: 59515780433 "radv/gfx9: fix block compression texture views."
Acked-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit 516a80b579163ef0894bb2fe2922912ef8599205)
-
467414c5
by Bas Nieuwenhuizen
at 2018-01-12T21:38:09+01:00
radv: Use correct HTILE expanded words.
Seems like users are actually hitting 0xFFFFFFFF actually making
things broken for them, and the mad max regression is fixed, so
lets put this in once more.
v2: Use 0xf for depth-only htile. (Dave)
Fixes: af2844116fd "radv: Revert HTILE reset word to 0xFFFFFFFF."
Reviewed-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit 5158603182fe7435bc825b09890d77eea49d2074)
-
5fe6c5fd
by Bas Nieuwenhuizen
at 2018-01-12T21:38:09+01:00
radv: Allow writing 0 scissors.
When rasterization is disabled we can have that few.
Fixes: 76603aa90b8 "radv: Drop the default viewport when 0 viewports are given."
Reviewed-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit 1c78e4f0535f3650acaf19d2ad19e4cc7bc3b0fd)
-
3561eabf
by Bas Nieuwenhuizen
at 2018-01-12T21:38:10+01:00
ac/nir: Handle loading data from compact arrays.
Fixes: f4e499ec791 "radv: add initial non-conformant radv vulkan driver"
Reviewed-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit c99426ea831f9e38624bbd1d2f0bc54bdfaf2b6b)
-
ecf2e337
by Bas Nieuwenhuizen
at 2018-01-12T21:38:10+01:00
radv: Invalidate L1 for VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT.
These are just shaders reads, so we need to invalidate L1.
Fixes: 6dbb0eaccc "radv: handle subpass cache flushes"
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
(cherry picked from commit f2c9f13ec2fdab99f5aa7f32845ee94dd1942fe9)
-
cc2b5d61
by Bas Nieuwenhuizen
at 2018-01-12T21:38:10+01:00
ac/nir: Sanitize location_frac for local variables.
If they were promoted from inputs/outputs, they could have a
non-zero value left over, which messed with our store handling.
Fixes: 06f05040eb "radv: Link shaders."
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
(cherry picked from commit 67e09c8b451e1db8bd901279160b982b0df0fa41)
-
d774fe8e
by Andres Gomez
at 2018-01-12T21:38:10+01:00
anv: Import mako templates only during execution of anv_extensions
anv_extensions usage from anv_icd was bringing the unwanted dependency
of mako templates for the latter. We don't want that since it will
force the dependency even for distributable tarballs which was not
needed until now.
Jason suggested this approach.
v2: Patch simplification (Jason).
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104551
Fixes: 0ab04ba979b ("anv: Use python to generate ICD json files")
Cc: Jason Ekstrand <jason.ekstrand@intel.com>
Cc: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Andres Gomez <agomez@igalia.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
(cherry picked from commit a1901d092c053485cdfff0a65a83f9f0987ffc62)
-
9be5e0cf
by Thomas Hellstrom
at 2018-01-12T21:38:10+01:00
loader/dri3: Avoid freeing renderbuffers in use
Upon reception of an event that lowered the number of active back buffers,
the code would immediately try to free all back buffers with an id equal to or
higher than the new number of active back buffers.
However, that could lead to an active or to-be-active back buffer being freed,
since the old number of back buffers was used when obtaining an idle back
buffer for use.
This lead to crashes when lowering the number of active back buffers by
transitioning from page-flipping to non-page-flipping presents.
Fix this by computing the number of active back buffers only when trying to
obtain a new back buffer.
Fixes: 15e208c4cc ("loader/dri3: Don't accidently free buffer holding new back content")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104214
Cc: "17.3" <mesa-stable@lists.freedesktop.org>
Tested-by: Andriy.Khulap <andriy.khulap@globallogic.com>
Tested-by: Vadym Shovkoplias <vadym.shovkoplias@globallogic.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
(cherry picked from commit 897c54d522ab960a879b763a15e489f630c491ee)
-
9a7ffd93
by Józef Kucia
at 2018-01-12T21:38:10+01:00
radeonsi: fix alpha-to-coverage if color writes are disabled
If alpha-to-coverage is enabled, we have to compute alpha
even if color writes are disabled.
Signed-off-by: Józef Kucia <joseph.kucia@gmail.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
(cherry picked from commit f222cf3c6d6fc5d9dee3742d20aa77cfff9c39f8)
-
2416223f
by Florian Will
at 2018-01-12T21:38:10+01:00
glsl: Respect std430 layout in lower_buffer_access
Respect the std430 rules for determining offset and size of struct
members when using a std430 buffer. std140 rules lead to wrong buffer
offsets in that case.
Fixes my test case attached in Bugzilla. No piglit changes.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104492
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
(cherry picked from commit 7e025def6d7d3d6bf94facd6ec6d956f40cbb31e)
-
2adb90f4
by Juan A. Suarez Romero
at 2018-01-18T19:52:51+00:00
Update version to 17.3.3
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
-
80f5f279
by Juan A. Suarez Romero
at 2018-01-18T20:02:46+00:00
docs: add release notes for 17.3.3
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
-
ea46ad6f
by Andreas Boll
at 2018-01-19T19:47:24+01:00
Merge tag 'mesa-17.3.3' into debian-unstable
mesa-17.3.3
-
955889c6
by Andreas Boll
at 2018-01-19T19:49:04+01:00
Bump changelog
-
253138ca
by Andreas Boll
at 2018-01-19T20:03:41+01:00
Bump debhelper compat to 10.
Requires quilt >= 0.63-8.2~
See also https://bugs.debian.org/851130
-
2c99a345
by Andreas Boll
at 2018-01-19T20:04:15+01:00
Bump standards version to 4.1.3.
-
c23c4527
by Andreas Boll
at 2018-01-19T20:35:03+01:00
Upload to unstable.