mbox series

[v2,0/3] Add some yuv 10bit support

Message ID 1569486289-152061-1-git-send-email-hjc@rock-chips.com (mailing list archive)
Headers show
Series Add some yuv 10bit support | expand

Message

黄家钗 Sept. 26, 2019, 8:24 a.m. UTC
These series patches is to add some new format supported by some rockchip
socs, include:
  RK3288/RK3228/RK3328/RK3368/RK3399

these new format layout as following rule:
2 plane YCbCr
  index 0 = Y plane, Y3:Y2:Y1:Y0 10:10:10:10
  index 1 = Cb:Cr plane, Cb3:Cr3:Cb2:Cr2:Cb1:Cr1:Cb0:Cr0 10:10:10:10:10:10:10:10
  or
  index 1 = Cr:Cb plane, Cr3:Cb3:Cr2:Cb2:Cr1:Cb1:Cr0:Cb0 10:10:10:10:10:10:10:10

v2:
  1. add describe for new format;
  2. use block formats to describe new format;

Sandy Huang (3):
  drm: Add some new format DRM_FORMAT_NVXX_10
  drm/rockchip: Add rockchip_vop_get_offset to get offset
  drm/rockchip: Add support 10bit yuv format

 drivers/gpu/drm/drm_fourcc.c                | 18 +++++++
 drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 77 +++++++++++++++++++++++++----
 drivers/gpu/drm/rockchip/rockchip_drm_vop.h |  1 +
 drivers/gpu/drm/rockchip/rockchip_vop_reg.c |  2 +
 include/uapi/drm/drm_fourcc.h               | 14 ++++++
 5 files changed, 103 insertions(+), 9 deletions(-)