diff options
author | Andy Yan <andy.yan@rock-chips.com> | 2022-04-22 09:28:39 +0200 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2022-05-04 14:05:47 +0200 |
commit | 604be85547ce4d61b89292d2f9a78c721b778c16 (patch) | |
tree | 664525ef33fa0c2841fa50cd5da7468c01f39e86 /drivers/gpu/drm/rockchip/Kconfig | |
parent | b382406a2cf4afaa7320a7ad4b298ed6e2675437 (diff) | |
download | linux-stable-604be85547ce4d61b89292d2f9a78c721b778c16.tar.gz linux-stable-604be85547ce4d61b89292d2f9a78c721b778c16.tar.bz2 linux-stable-604be85547ce4d61b89292d2f9a78c721b778c16.zip |
drm/rockchip: Add VOP2 driver
The VOP2 unit is found on Rockchip SoCs beginning with rk3566/rk3568.
It replaces the VOP unit found in the older Rockchip SoCs.
This driver has been derived from the downstream Rockchip Kernel and
heavily modified:
- All nonstandard DRM properties have been removed
- dropped struct vop2_plane_state and pass around less data between
functions
- Dropped all DRM_FORMAT_* not known on upstream
- rework register access to get rid of excessively used macros
- Drop all waiting for framesyncs
The driver is tested with HDMI and MIPI-DSI display on a RK3568-EVB
board. Overlay support is tested with the modetest utility. AFBC support
on the cluster windows is tested with weston-simple-dmabuf-egl on
weston using the (yet to be upstreamed) panfrost driver support.
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Co-Developed-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Tested-by: Michael Riesch <michael.riesch@wolfvision.net>
[dt-binding-header:]
Acked-by: Rob Herring <robh@kernel.org>
[moved dt-binding header from dt-nodes patch to here
and made checkpatch --strict happier]
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20220422072841.2206452-23-s.hauer@pengutronix.de
Diffstat (limited to 'drivers/gpu/drm/rockchip/Kconfig')
-rw-r--r-- | drivers/gpu/drm/rockchip/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/rockchip/Kconfig b/drivers/gpu/drm/rockchip/Kconfig index 4233b4ce65d3..5afab49dc4f2 100644 --- a/drivers/gpu/drm/rockchip/Kconfig +++ b/drivers/gpu/drm/rockchip/Kconfig @@ -29,6 +29,12 @@ config ROCKCHIP_VOP This selects support for the VOP driver. You should enable it on older SoCs. +config ROCKCHIP_VOP2 + bool "Rockchip VOP2 driver" + help + This selects support for the VOP2 driver. The VOP2 hardware is + first found on the RK3568. + config ROCKCHIP_ANALOGIX_DP bool "Rockchip specific extensions for Analogix DP driver" depends on ROCKCHIP_VOP |