mbox series

[v3,0/2] drm/msm/gem: Add metadata uapi

Message ID 20231106185028.209462-1-robdclark@gmail.com
Headers show
Series drm/msm/gem: Add metadata uapi | expand

Message

Rob Clark Nov. 6, 2023, 6:50 p.m. UTC
From: Rob Clark <robdclark@chromium.org>

Add metadata mechanism to provide a back-channel to communicate image
layout information between vk and gl, because EXT_external_objects
doesn't support explicit modifiers and "OPTIMAL_TILING_EXT" is not
enough information for the importer to deduce the layout.

Rob Clark (2):
  drm/msm: Small uabi fixes
  drm/msm/gem: Add metadata

 drivers/gpu/drm/msm/msm_drv.c | 94 ++++++++++++++++++++++++++++++++++-
 drivers/gpu/drm/msm/msm_gem.c |  1 +
 drivers/gpu/drm/msm/msm_gem.h |  4 ++
 include/uapi/drm/msm_drm.h    |  2 +
 4 files changed, 99 insertions(+), 2 deletions(-)