mesa/src/gallium/winsys
Isaac Bosompem 36d050210e virgl: Set use_staging in resource_from_handle
This flag controls virgl's behavior when buffers
are accessed on the guest through Mesa's GBM interface.

As such, this flag needs to be consistent in both the
resource creation and fd import case. Previously, the
fd import resource's flag value would be inconsistent
with the original resource's value.

This patch fixes this by inferring the value of this flag
based on the resource's size.

Signed-Off By: Isaac Bosompem <mrisaacb@google.com>

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18477>
2022-09-10 06:29:00 +00:00
..
amdgpu/drm radeonsi/sqtt: set stable pstate if possible 2022-08-31 13:29:48 +00:00
crocus/drm util/slab: use simple_mtx_t 2021-10-05 23:46:14 +00:00
d3d12/wgl d3d12: Change displayable format logic 2022-08-31 02:31:40 +00:00
etnaviv/drm etnaviv: add etna_lookup_or_create_screen(..) 2021-10-01 10:13:32 +00:00
freedreno/drm freedreno: Support per-device driconf overrides 2021-08-02 16:37:26 -07:00
i915/drm android: Drop the Android.mk build system 2021-07-08 14:44:02 -05:00
iris/drm iris: Drop extra file-descriptor dup in iris_drm_screen_create() 2022-08-23 22:54:23 +00:00
kmsro/drm freedreno: Support per-device driconf overrides 2021-08-02 16:37:26 -07:00
lima/drm lima: fix leak of the screen hash table 2021-09-18 16:47:49 +00:00
nouveau/drm android: Drop the Android.mk build system 2021-07-08 14:44:02 -05:00
panfrost/drm android: Drop the Android.mk build system 2021-07-08 14:44:02 -05:00
radeon radeonsi/sqtt: set stable pstate if possible 2022-08-31 13:29:48 +00:00
svga/drm util/list: rename LIST_ENTRY() to list_entry() 2022-07-28 10:10:44 +00:00
sw kms/dri: add mutex lock around map/unmap 2022-07-18 19:06:30 +00:00
tegra/drm android: Drop the Android.mk build system 2021-07-08 14:44:02 -05:00
v3d/drm android: Drop the Android.mk build system 2021-07-08 14:44:02 -05:00
vc4/drm android: Drop the Android.mk build system 2021-07-08 14:44:02 -05:00
virgl virgl: Set use_staging in resource_from_handle 2022-09-10 06:29:00 +00:00