linux/include/uapi/drm
Rob Clark 9902cb999e drm/msm/gem: Add metadata
The EXT_external_objects extension is a bit awkward as it doesn't pass
explicit modifiers, leaving the importer to guess with incomplete
information.  In the case of vk (turnip) exporting and gl (freedreno)
importing, the "OPTIMAL_TILING_EXT" layout depends on VkImageCreateInfo
flags (among other things), which the importer does not know.  Which
unfortunately leaves us with the need for a metadata back-channel.

The contents of the metadata are defined by userspace.  The
EXT_external_objects extension is only required to work between
compatible versions of gl and vk drivers, as defined by device and
driver UUIDs.

v2: add missing metadata kfree
v3: Rework to move copy_from/to_user out from under gem obj lock
    to avoid angering lockdep about deadlocks against fs-reclaim

Signed-off-by: Rob Clark <robdclark@chromium.org>
Patchwork: https://patchwork.freedesktop.org/patch/566157/
2023-11-20 18:33:17 -08:00
..
amdgpu_drm.h
armada_drm.h
drm.h drm/doc: document DRM_IOCTL_MODE_CREATE_DUMB 2023-10-25 17:32:56 +02:00
drm_fourcc.h drm/fourcc: Add NV20 and NV30 YUV formats 2023-10-24 21:34:35 +02:00
drm_mode.h drm/doc: document DRM_IOCTL_MODE_CREATE_DUMB 2023-10-25 17:32:56 +02:00
drm_sarea.h
etnaviv_drm.h
exynos_drm.h
habanalabs_accel.h
i915_drm.h
ivpu_accel.h
lima_drm.h
msm_drm.h drm/msm/gem: Add metadata 2023-11-20 18:33:17 -08:00
nouveau_drm.h
omap_drm.h
panfrost_drm.h
qaic_accel.h
qxl_drm.h
radeon_drm.h
tegra_drm.h
v3d_drm.h
vc4_drm.h
vgem_drm.h
virtgpu_drm.h
vmwgfx_drm.h