[PATCH v2 0/3] Add some yuv 10bit support
Sandy Huang
hjc at rock-chips.com
Thu Sep 26 08:17:25 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
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 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 | 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(-)
--
2.7.4
More information about the dri-devel
mailing list