mesa/src
Lucas Stach b84c43476c etnaviv: fix double scanout import of multiplanar resources
etna_resource_from_handle() is called for each plane of a multiplanar
resource, so there is no point in looping over all planes to do the
renderonly scanout import. In fact that will cause us to lose track
of the scanout imports from later planes when the earlier planes are
redoing the import, overwriting the pointer to the allocated
renderonly_scanout struct.

Drop the loop and just do the import for the current plane.

Fixes: 826f95778a ("etnaviv: always try to create KMS side handles for imported resources")
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20993>
(cherry picked from commit 175732bb51)
2023-02-03 09:49:16 -08:00
..
amd aco: limit VALUPartialForwardingHazard search 2023-02-01 13:48:41 -08:00
android_stub
asahi agx: Don't crash trying to encoding minifloats 2023-01-11 21:14:21 +00:00
broadcom v3dv: remove unused clamp_to_transparent_black_border property 2023-01-24 15:27:03 -08:00
c11 c11: Remove _MTX_INITIALIZER_NP for windows 2022-11-09 04:38:28 +00:00
compiler nir: mark progress when removing trailing unused load_const channels 2023-02-01 13:48:45 -08:00
drm-shim drm-shim: Use hide_drm_device_path() to hide other drm devices 2022-12-30 15:51:11 -08:00
egl egl: Rewrite eglGetMscRateANGLE to avoid probes and handle multi-monitor 2023-01-27 09:17:37 -08:00
etnaviv etnaviv: drm: fix check if BO is on a deferred destroy list 2023-01-31 10:29:04 -08:00
freedreno tu/kgsl: do not use kgsl_command_object::offset 2023-01-24 15:27:05 -08:00
gallium etnaviv: fix double scanout import of multiplanar resources 2023-02-03 09:49:16 -08:00
gbm gbm: Avoid leaks on screen creation failures 2023-01-12 12:39:37 +00:00
getopt
glx dri: get rid of LIBGL_SHOW_FPS 2023-01-09 14:25:51 +01:00
gtest
hgl
imagination pvr: Remove PVR_STATIC_CLEAR_.*_BIT and use VkImageAspectFlags. 2023-01-04 16:30:39 +00:00
imgui
intel intel/fs: Always stall between the fences on Gen11+ 2023-02-02 10:29:01 -08:00
loader loader: Add infrastructure for tracking active CRTC resources 2023-01-27 09:17:36 -08:00
mapi glthread: fix glArrayElement handling 2023-01-24 15:27:04 -08:00
mesa glthread: handle GL_*_ARRAY in glEnable/Disable 2023-01-24 15:27:05 -08:00
microsoft dzn: Report as a software device for non-Windows 2023-01-27 09:17:35 -08:00
nouveau nir: Eliminate nir_op_i2b 2022-12-14 06:23:21 +00:00
panfrost panfrost: Fix logic ops on Bifrost 2023-01-17 10:16:40 -08:00
tool perfetto: Add the intel data sources to system.cfg. 2023-01-12 20:21:03 +00:00
util radv: add a layer for fixing rendering issues with RAGE2 2023-01-27 09:17:37 -08:00
virtio vulkan/wsi: Prepare things for image to image blits 2023-01-11 09:31:02 +00:00
vulkan vulkan/wsi/wayland: improve same gpu detection 2023-01-26 09:11:47 -08:00
meson.build meson: build radeon drm-shim also for r300 and r600 2022-11-16 14:37:47 +00:00