[PATCH RFC v3 0/6] Support of non-byte aligned formats in drm

Hyun Kwon hyun.kwon at xilinx.com
Sat Feb 10 01:35:50 UTC 2018


Hi,

Following up on v1 [1] and v2 [2], this series is to address non-byte aligned
formats in drm. Based on the comments, the set is getting simplified, and
any further comment would be appreciated. Brief description:

Patch 1 just changes comment style for change in patch 2
Patch 2 adds macro-pixel information to drm_format_info
Patch 3 adds a drm function that uses the macro-pixel information
Patch 4 adds new formats along with macro-pixel info
Patch 5 shows the example of driver integration
Patch 6 includes additional format strings

Thanks,
-hyun

[1] https://lists.freedesktop.org/archives/dri-devel/2017-November/158744.html
[2] https://www.spinics.net/lists/dri-devel/msg163388.html

Hyun Kwon (6):
  drm: fourcc.h: Use inline kern-doc style for struct drm_format_info
  drm: drm_fourcc: Introduce macro-pixel info to drm_format_info
  drm: fourcc: Add drm_format_plane_width_bytes()
  drm: drm_fourcc: Add new formats for Xilinx IPs
  drm: xlnx: zynqmp: Add XV15 and XV20 formats
  drm: fourcc: Add new formats needed by Xilinx IP

 drivers/gpu/drm/drm_fb_cma_helper.c |  3 +-
 drivers/gpu/drm/drm_fourcc.c        | 42 ++++++++++++++++++++++
 drivers/gpu/drm/xlnx/zynqmp_disp.c  | 22 +++++++++++-
 include/drm/drm_fourcc.h            | 69 ++++++++++++++++++++++++++++++++-----
 include/uapi/drm/drm_fourcc.h       | 15 ++++++++
 5 files changed, 141 insertions(+), 10 deletions(-)

-- 
2.7.4



More information about the dri-devel mailing list