[PATCH 0/3] Add some yuv 10bit support

Sandy Huang hjc at rock-chips.com
Wed Sep 25 08:06:37 UTC 2019


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 10bit
    index 0 = Y plane, [9:0] Y
    index 1 = Cr:Cb plane, [19:0]
    or
    index 1 = Cb:Cr plane, [19:0]

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

 drivers/gpu/drm/drm_fourcc.c                | 18 +++++++++++++
 drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 42 ++++++++++++++++++++++++++---
 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, 74 insertions(+), 3 deletions(-)

-- 
2.7.4





More information about the dri-devel mailing list