1 From 50ea8fbdd1b768ccaa33dfee43b0f12245ef09b8 Mon Sep 17 00:00:00 2001
2 From: Haihua Hu <jared.hu@nxp.com>
3 Date: Wed, 5 Sep 2018 13:00:47 +0800
4 Subject: [PATCH] linux-dmabuf: support passing buffer DTRC meta to compositor
6 DTRC meta is untilized to pass offset to DTRC in drm dcss driver
7 to enable video tile compress
9 Signed-off-by: Haihua Hu <jared.hu@nxp.com>
11 unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml | 22 ++++++++++++++++++++++
12 1 file changed, 22 insertions(+)
14 diff --git a/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml b/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml
15 index 154afe2..9c955c7 100644
16 --- a/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml
17 +++ b/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml
19 <arg name="flags" type="uint" summary="see enum flags"/>
22 + <request name="add_dtrc_meta">
23 + <description summary="add dtrc meta in this dmabuf">
24 + This request adds one dmabuf to the set in this
25 + zwp_linux_buffer_params_v1.
27 + The 64-bit unsigned value combined from modifier_hi and modifier_lo
28 + is the dmabuf layout modifier. DRM AddFB2 ioctl calls this the
29 + fb modifier, which is defined in drm_mode.h of Linux UAPI.
30 + This is an opaque token. Drivers use this token to express tiling,
31 + compression, etc. driver-specific modifications to the base format
32 + defined by the DRM fourcc code.
34 + This request raises the PLANE_IDX error if plane_idx is too large.
35 + The error PLANE_SET is raised if attempting to set a plane that
38 + <arg name="rfc_chroma_offset" type="uint"
39 + summary="high 32 bits of DTRC offset"/>
40 + <arg name="rfc_luma_offset" type="uint"
41 + summary="low 32 bits of DTRC offset"/>