summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/rockchip/rockchip_vop_reg.c
diff options
context:
space:
mode:
authorSandy Huang <hjc@rock-chips.com>2018-08-31 00:12:07 +0300
committerHeiko Stuebner <heiko@sntech.de>2018-09-05 13:25:39 +0300
commit8d544233100b286efff3475d94827819c6375531 (patch)
tree0a59d09503c04a415b8d877f13ae00756e03c8c6 /drivers/gpu/drm/rockchip/rockchip_vop_reg.c
parent1f0f015151727872be866b6a5b64e07f9e7a3071 (diff)
downloadlinux-8d544233100b286efff3475d94827819c6375531.tar.xz
drm/rockchip: vop: Add directly output rgb feature for px30
Add this feature bit indicate px30 vop can directly output parallel or serial rgb data. Signed-off-by: Sandy Huang <hjc@rock-chips.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://patchwork.freedesktop.org/patch/msgid/20180830211207.10480-4-heiko@sntech.de
Diffstat (limited to 'drivers/gpu/drm/rockchip/rockchip_vop_reg.c')
-rw-r--r--drivers/gpu/drm/rockchip/rockchip_vop_reg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/rockchip/rockchip_vop_reg.c b/drivers/gpu/drm/rockchip/rockchip_vop_reg.c
index 7f29913824ce..09910d3b01ce 100644
--- a/drivers/gpu/drm/rockchip/rockchip_vop_reg.c
+++ b/drivers/gpu/drm/rockchip/rockchip_vop_reg.c
@@ -276,6 +276,7 @@ static const struct vop_win_data px30_vop_big_win_data[] = {
static const struct vop_data px30_vop_big = {
.intr = &px30_intr,
+ .feature = VOP_FEATURE_INTERNAL_RGB,
.common = &px30_common,
.modeset = &px30_modeset,
.output = &px30_output,
@@ -290,6 +291,7 @@ static const struct vop_win_data px30_vop_lit_win_data[] = {
static const struct vop_data px30_vop_lit = {
.intr = &px30_intr,
+ .feature = VOP_FEATURE_INTERNAL_RGB,
.common = &px30_common,
.modeset = &px30_modeset,
.output = &px30_output,