drm/rockchip: vop: Add directly output rgb feature for px30
authorSandy Huang <hjc@rock-chips.com>
Thu, 30 Aug 2018 21:12:07 +0000 (23:12 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 5 Sep 2018 10:25:39 +0000 (12:25 +0200)
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
drivers/gpu/drm/rockchip/rockchip_vop_reg.c

index 7f29913824ceca8f08e7af213635d7e0a9d37e3e..09910d3b01cecaa0b6f93a481c6cbf0ad75ab08f 100644 (file)
@@ -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,