linux/drivers/gpu/drm/rockchip
Jonas Karlman d4b3842285 drm/rockchip: vop: Add NV15, NV20 and NV30 support
Add support for displaying 10-bit 4:2:0 and 4:2:2 formats produced by
the Rockchip Video Decoder on RK322X, RK3288, RK3328 and RK3399.
Also add support for 10-bit 4:4:4 format while at it.

V5: Use drm_format_info_min_pitch() for correct bpp
    Add missing NV21, NV61 and NV42 formats
V4: Rework RK3328/RK3399 win0/1 data to not affect RK3368
V2: Added NV30 support

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Sandy Huang <hjc@rock-chips.com>
Reviewed-by: Christopher Obbard <chris.obbard@collabora.com>
Tested-by: Christopher Obbard <chris.obbard@collabora.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20231023173718.188102-3-jonas@kwiboo.se
2023-10-24 21:34:36 +02:00
..
analogix_dp-rockchip.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
cdn-dp-core.c drm/rockchip: remove redundant of_match_ptr 2023-10-09 21:46:36 +02:00
cdn-dp-core.h drm/rockchip: Embed drm_encoder into rockchip_decoder 2022-05-03 11:23:47 +02:00
cdn-dp-reg.c drm/rockchip: cdn-dp: fix sign extension on an int multiply for a u64 result 2021-05-28 20:27:44 +02:00
cdn-dp-reg.h
dw_hdmi-rockchip.c drm/rockchip: Convert to platform remove callback returning void 2023-06-08 09:04:12 -07:00
dw-mipi-dsi-rockchip.c drm/rockchip: dsi: Use devm_platform_get_and_ioremap_resource() 2023-10-09 21:52:45 +02:00
inno_hdmi.c drm-misc-next for 6.6: 2023-07-27 10:49:57 +02:00
inno_hdmi.h
Kconfig drm/gem: rename GEM CMA helpers to GEM DMA helpers 2022-08-03 18:31:49 +02:00
Makefile drm/rockchip: Add VOP2 driver 2022-05-04 14:05:47 +02:00
rk3066_hdmi.c drm-misc-next for v6.6: 2023-07-17 15:37:57 +02:00
rk3066_hdmi.h
rockchip_drm_drv.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
rockchip_drm_drv.h drm/fb-helper: Remove unnecessary include statements 2022-11-05 17:12:04 +01:00
rockchip_drm_fb.c drm/rockchip: Don't set struct drm_driver.output_poll_changed 2022-11-05 17:05:53 +01:00
rockchip_drm_fb.h drm: rockchip: remove rockchip_drm_framebuffer_init() function 2022-10-29 18:31:09 +02:00
rockchip_drm_gem.c drm/rockchip: Fix type promotion bug in rockchip_gem_iommu_map() 2023-10-16 15:05:14 +02:00
rockchip_drm_gem.h dma-buf-map: Rename to iosys-map 2022-02-07 16:35:35 -08:00
rockchip_drm_vop2.c drm/rockchip: vop2: Add more supported 10bit formats 2023-10-24 21:29:12 +02:00
rockchip_drm_vop2.h drm/rockchip: remove unused struct in vop2 2023-10-16 15:05:23 +02:00
rockchip_drm_vop.c drm/rockchip: vop: Add NV15, NV20 and NV30 support 2023-10-24 21:34:36 +02:00
rockchip_drm_vop.h drm/rockchip: vop: Add NV15, NV20 and NV30 support 2023-10-24 21:34:36 +02:00
rockchip_lvds.c drm/rockchip: remove redundant of_match_ptr 2023-10-09 21:46:36 +02:00
rockchip_lvds.h
rockchip_rgb.c drm/rockchip: rgb: add video_port parameter to init function 2023-02-05 15:21:36 +01:00
rockchip_rgb.h drm/rockchip: rgb: add video_port parameter to init function 2023-02-05 15:21:36 +01:00
rockchip_vop2_reg.c drm/rockchip: vop2: rename window formats to show window type using them 2023-10-24 21:29:14 +02:00
rockchip_vop_reg.c drm/rockchip: vop: Add NV15, NV20 and NV30 support 2023-10-24 21:34:36 +02:00
rockchip_vop_reg.h drm/rockchip: define gamma registers for RK3399 2022-09-15 15:09:10 +02:00