mbox series

[0/3] Add some yuv 10bit support

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

Message

黄家钗 Sept. 25, 2019, 8:06 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 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(-)