Skip to content

Fixes and improvements for Xen pvdrm

Oleksandr Andrushchenko dri-devel intel-gfx lkml stable xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 9 repliesIn review
  2. v16 patches 10 repliesSuperseded

Changes in v2 from the cover letter

=================

1. Removed patch which adds EDID to PV DRM as it needs more time for review:
"5. Version 2 of the Xen displif protocol adds XENDISPL_OP_GET_EDID request which allows frontends to request EDID structure per connector. This request is optional and if not supported by the backend then visible area is still defined by the relevant XenStore's "resolution" property.
If backend provides EDID with XENDISPL_OP_GET_EDID request then its values must take precedence over the resolutions defined in XenStore."
I will send this as a dedicated patch.

2. Added missing CC stable for the patches with fixes

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5xen/gntdev: Fix dmabuf import with non-zero sgt offsetdrivers/xen/gntdev-dmabuf.c+8 -00 replies
2/5drm/xen-front: Fix misused IS_ERR_OR_NULL checksdrivers/gpu/drm/xen/xen_drm_front.c drivers/gpu/drm/xen/xen_drm_front_gem.c drivers/gpu/drm/xen/xen_drm_front_kms.c+7 -72 replies
3/5drm/xen-front: Add YUYV to supported formatsdrivers/gpu/drm/xen/xen_drm_front_conn.c+1 -00 replies
4/5xen: Sync up with the canonical protocol definition in Xeninclude/xen/interface/io/displif.h+88 -30 replies
5/5drm/xen-front: Pass dumb buffer data offset to the backenddrivers/gpu/drm/xen/xen_drm_front.c drivers/gpu/drm/xen/xen_drm_front.h drivers/gpu/drm/xen/xen_drm_front_gem.c+7 -40 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchJuergen GrossDan CarpenterNoralf Trønnes
1/5A-b
2/5R-b
3/5A-b
4/5R-b
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/5] Fixes and improvements for Xen pvdrm

From: Oleksandr Andrushchenko <[email protected]>

Hello,

This series contains an assorted set of fixes and improvements for the Xen para-virtualized display driver and grant device driver which I have collected over the last couple of months:

1. Minor fixes to grant device driver and drm/xen-front.

2. New format (YUYV) added to the list of the PV DRM supported formats which allows the driver to be used in zero-copying use-cases when a camera device is the source of the dma-bufs.

3. Synchronization with the latest para-virtualized protocol definition in Xen [1].

4. SGT offset is now propagated to the backend: while importing a dmabuf it is possible that the data of the buffer is put with offset which is indicated by the SGT offset. This is needed for some GPUs which have non-zero offset.

Thank you,
Oleksandr Andrushchenko

[1] https://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=c27a184225eab54d20435c8cab5ad0ef384dc2c0

Changes since v1:
=================

1. Removed patch which adds EDID to PV DRM as it needs more time for review:
"5. Version 2 of the Xen displif protocol adds XENDISPL_OP_GET_EDID request which allows frontends to request EDID structure per connector. This request is optional and if not supported by the backend then visible area is still defined by the relevant XenStore's "resolution" property.
If backend provides EDID with XENDISPL_OP_GET_EDID request then its values must take precedence over the resolutions defined in XenStore."
I will send this as a dedicated patch.

2. Added missing CC stable for the patches with fixes

Oleksandr Andrushchenko (5):
xen/gntdev: Fix dmabuf import with non-zero sgt offset drm/xen-front: Fix misused IS_ERR_OR_NULL checks drm/xen-front: Add YUYV to supported formats
xen: Sync up with the canonical protocol definition in Xen drm/xen-front: Pass dumb buffer data offset to the backend

 drivers/gpu/drm/xen/xen_drm_front.c      | 10 +--
 drivers/gpu/drm/xen/xen_drm_front.h      |  2 +-
 drivers/gpu/drm/xen/xen_drm_front_conn.c |  1 +
 drivers/gpu/drm/xen/xen_drm_front_gem.c  | 11 +--
 drivers/gpu/drm/xen/xen_drm_front_kms.c  |  2 +-
 drivers/xen/gntdev-dmabuf.c              |  8 +++
 include/xen/interface/io/displif.h       | 91 +++++++++++++++++++++++-
 7 files changed, 111 insertions(+), 14 deletions(-)
Signature · 6 lines
2.17.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel