]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/v3d: fix wait for TMU write combiner flush
authorIago Toral Quiroga <itoral@igalia.com>
Wed, 15 Sep 2021 10:05:07 +0000 (12:05 +0200)
committerAndrea Righi <andrea.righi@canonical.com>
Tue, 4 Jan 2022 08:48:19 +0000 (09:48 +0100)
commit54ab31b93b3f7741b53c9431142530aa3777812a
tree97836d3918270fd79b3c5ea089e0d1ee4fdceccb
parent416c49abdd093f424f445f43ecf8228d97e5b223
drm/v3d: fix wait for TMU write combiner flush

BugLink: https://bugs.launchpad.net/bugs/1951822
[ Upstream commit e4f868191138975f2fdf2f37c11318b47db4acc9 ]

The hardware sets the TMUWCF bit back to 0 when the TMU write
combiner flush completes so we should be checking for that instead
of the L2TFLS bit.

v2 (Melissa Wen):
  - Add Signed-off-by and Fixes tags.
  - Change the error message for the timeout to be more clear.

Fixes spurious Vulkan CTS failures in:
dEQP-VK.binding_model.descriptorset_random.*

Fixes: d223f98f02099 ("drm/v3d: Add support for compute shader dispatch.")
Signed-off-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Melissa Wen <melissa.srw@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210915100507.3945-1-itoral@igalia.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/gpu/drm/v3d/v3d_gem.c