mesa/src/freedreno/ci
Vldly 6d14cad330 freedreno: Fix resource tracking on repeated map with discard
In two functions implementing resource discard rebind_resource is called
on resource before its track record is reset. This prevents update of
dirty_resource or dirty_shader_resource because of conditions in
needs_dirty_resource. With rsc->track reset and dirty_resource bits
missing further calls to transfer_map will not try to reallocate
resource storage when needed.

A way to reproduce the issue in both functions is by executing at least
3 draws modifying bound texture or VBO each time. This patch fixes those
cases and some related piglit tests on a5xx and should fix it on other
GPUs. Also it fixes rendering in Firefox and vsraytrace (except vertical
line at right edge).

Fixes: 0a62a874fc ("freedreno: Re-work dirty-resource tracking")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10374
Reviewed-by: Rob Clark <robclark@freedesktop.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32167>
2024-11-18 21:17:50 +00:00
..
deqp-freedreno-a306-piglit-quick-gl.toml freedreno/ci: Switch a306_* to deqp-runner 2024-05-13 22:21:55 +00:00
deqp-freedreno-a306-piglit-quick-shader.toml freedreno/ci: Switch a306_* to deqp-runner 2024-05-13 22:21:55 +00:00
deqp-freedreno-a306-piglit.toml freedreno/ci: Switch a306_* to deqp-runner 2024-05-13 22:21:55 +00:00
deqp-freedreno-a307.toml ci/deqp: use the proper gl/gles releases for deqp-gl*, deqp-gles*, deqp-egl 2024-03-04 16:53:58 +00:00
deqp-freedreno-a530-piglit.toml ci/freedreno: fix the a530_piglit job and switch to Weston 2023-04-16 17:28:52 +00:00
deqp-freedreno-a530.toml freedreno/ci: move platform to the deqp toml file for a530 2024-05-13 22:21:55 +00:00
deqp-freedreno-a618-egl.toml {freedreno,intel}/ci: rename "premerge-skips.txt" to "merge-skips.txt" to accurately reflect what they are 2024-10-21 10:22:57 +00:00
deqp-freedreno-a618-piglit-cl.toml ci/freedreno: Introduce OpenCL testing for Adreno 618, 660, and 750 2024-10-27 14:04:41 +00:00
deqp-freedreno-a618-piglit-full.toml freedreno/ci: Implement nightly piglit job for Adreno 630 and 618 2024-05-14 21:16:55 +00:00
deqp-freedreno-a618-piglit.toml freedreno/ci: Increase a630/a618 piglit fraction 2024-05-14 21:16:55 +00:00
deqp-freedreno-a618-skqp.toml freedreno/ci: Add a618 egl/skqp/piglit jobs 2023-01-15 10:17:37 -08:00
deqp-freedreno-a618-vk-full.toml ci: uprev CTS to vulkan-cts-1.3.8.0 2024-04-17 21:22:36 +00:00
deqp-freedreno-a618-vk.toml {freedreno,intel}/ci: rename "premerge-skips.txt" to "merge-skips.txt" to accurately reflect what they are 2024-10-21 10:22:57 +00:00
deqp-freedreno-a618.toml {freedreno,intel}/ci: rename "premerge-skips.txt" to "merge-skips.txt" to accurately reflect what they are 2024-10-21 10:22:57 +00:00
deqp-freedreno-a630-gles-asan-full.toml Nightly full job for a630-gles-asan 2024-11-06 21:44:44 +00:00
deqp-freedreno-a630-gles-asan.toml freedreno/ci: convert a630-gles-asan to toml suite 2024-11-04 13:14:23 -08:00
deqp-freedreno-a630-piglit-full.toml freedreno/ci: Implement nightly piglit job for Adreno 630 and 618 2024-05-14 21:16:55 +00:00
deqp-freedreno-a630-piglit.toml freedreno/ci: Increase a630/a618 piglit fraction 2024-05-14 21:16:55 +00:00
deqp-freedreno-a630-vk-asan.toml freedreno/ci: add prefix for a630-vk-asan tests 2024-11-09 08:15:36 +00:00
deqp-freedreno-a630-vk-full.toml freedreno/ci: remove redundant skip files 2024-10-31 15:05:16 -07:00
deqp-freedreno-a630-vk.toml {freedreno,intel}/ci: rename "premerge-skips.txt" to "merge-skips.txt" to accurately reflect what they are 2024-10-21 10:22:57 +00:00
deqp-freedreno-a630.toml {freedreno,intel}/ci: rename "premerge-skips.txt" to "merge-skips.txt" to accurately reflect what they are 2024-10-21 10:22:57 +00:00
deqp-freedreno-a660-piglit-cl.toml ci/freedreno: Introduce OpenCL testing for Adreno 618, 660, and 750 2024-10-27 14:04:41 +00:00
deqp-freedreno-a660-vk-full.toml freedreno/ci: remove redundant skip files 2024-10-31 15:05:16 -07:00
deqp-freedreno-a660-vk.toml {freedreno,intel}/ci: rename "premerge-skips.txt" to "merge-skips.txt" to accurately reflect what they are 2024-10-21 10:22:57 +00:00
deqp-freedreno-a660.toml freedreno/ci: remove redundant skip files 2024-10-31 15:05:16 -07:00
deqp-freedreno-a750-piglit-cl.toml ci/freedreno: Introduce OpenCL testing for Adreno 618, 660, and 750 2024-10-27 14:04:41 +00:00
deqp-freedreno-a750-vk.toml {freedreno,intel}/ci: rename "premerge-skips.txt" to "merge-skips.txt" to accurately reflect what they are 2024-10-21 10:22:57 +00:00
deqp-freedreno-a750.toml freedreno/ci: add nightly freedreno gl testing on a750 2024-10-29 20:31:48 +00:00
freedreno-a6xx-skips.txt tu: Enable VK_KHR_shader_subgroup_uniform_control_flow 2024-07-19 12:54:09 +00:00
freedreno-a307-fails.txt freedreno: Fix resource tracking on repeated map with discard 2024-11-18 21:17:50 +00:00
freedreno-a307-flakes.txt ci: uprev CTS to 1.3.5.0 2023-03-03 08:23:21 +00:00
freedreno-a307-skips.txt ci/freedreno: add Adreno 306/307 occasional timeout 2024-09-05 17:13:58 +09:00
freedreno-a420-fails.txt freedreno/ci: Skip unsupported legacy gl stuff 2024-05-14 21:16:55 +00:00
freedreno-a420-flakes.txt freedreno: add a420 deqp-runner files 2022-03-08 01:23:05 +00:00
freedreno-a420-skips.txt freedreno/ci: Skip unsupported legacy gl stuff 2024-05-14 21:16:55 +00:00
freedreno-a530-fails.txt freedreno: Fix resource tracking on repeated map with discard 2024-11-18 21:17:50 +00:00
freedreno-a530-flakes.txt Uprev Piglit to e9316bcd12544aaf7e753ce37fe50d64165d9598 2024-01-29 18:27:07 +00:00
freedreno-a530-skips.txt ci/freedreno: re-enable piglit tests for Adreno 530 in nightly runs 2024-09-16 16:30:33 +00:00
freedreno-a618-fails.txt freedreno/a6xx: Don't check dst coords 2024-10-31 20:02:00 +00:00
freedreno-a618-flakes.txt all-drivers/ci: drop duplicate flakes lines 2024-10-24 16:50:44 +00:00
freedreno-a618-skips.txt freedreno/ci: Update expectations 2024-08-20 01:55:05 +00:00
freedreno-a618-slow-skips.txt ci: rename "merge-skips" to "slow-skips" as they're about to be used outside of merge piplines 2024-10-25 08:26:31 +00:00
freedreno-a630-bypass-flakes.txt
freedreno-a630-fails.txt Nightly full job for a630-gles-asan 2024-11-06 21:44:44 +00:00
freedreno-a630-flakes.txt freedreno/ci: add more flakes seen recently 2024-11-07 21:49:29 +01:00
freedreno-a630-skips.txt freedreno/ci: add prefix for a630-vk-asan tests 2024-11-09 08:15:36 +00:00
freedreno-a630-slow-skips.txt ci: rename "merge-skips" to "slow-skips" as they're about to be used outside of merge piplines 2024-10-25 08:26:31 +00:00
freedreno-a660-fails.txt freedreno/a6xx: Don't check dst coords 2024-10-31 20:02:00 +00:00
freedreno-a660-flakes.txt freedreno/ci: Document new flake 2024-10-01 06:17:13 +00:00
freedreno-a660-skips.txt ci: uprev VKCTS to 1.3.10.0 2024-10-25 14:03:37 +02:00
freedreno-a660-slow-skips.txt ci: rename "merge-skips" to "slow-skips" as they're about to be used outside of merge piplines 2024-10-25 08:26:31 +00:00
freedreno-a750-fails.txt turnip/ci: document regression 2024-11-13 17:14:06 +00:00
freedreno-a750-flakes.txt freedreno/ci: document flakes seen recently 2024-11-13 12:26:50 +00:00
freedreno-a750-skips.txt turnip/ci: skip timing out tests 2024-08-19 17:25:15 +00:00
freedreno-a750-slow-skips.txt ci: rename "merge-skips" to "slow-skips" as they're about to be used outside of merge piplines 2024-10-25 08:26:31 +00:00
freedreno-a750-vkd3d-fails.txt ci: uprev vkd3d-proton to 59d6d4b5ed23766e69fe252408a3401d2fd52ce8 2024-10-23 15:47:54 +00:00
gitlab-ci-inc.yml freedreno/ci: abort a750 testing when a hang is detected 2024-10-29 20:31:48 +00:00
gitlab-ci.yml freedreno/ci: add prefix for a630-vk-asan tests 2024-11-09 08:15:36 +00:00
restricted-traces-freedreno.yml ci: update traces 2024-09-07 00:54:35 +00:00
traces-freedreno.yml freedreno/a6xx: Don't try resolve blits 2024-10-29 02:34:08 +00:00