]> git.hungrycats.org Git - linux/commitdiff
drm/rockchip: vop: enable VOP_FEATURE_INTERNAL_RGB on RK3066
authorVal Packett <val@packett.cool>
Mon, 24 Jun 2024 20:40:49 +0000 (17:40 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Oct 2024 10:01:12 +0000 (12:01 +0200)
commit 6ed51ba95e27221ce87979bd2ad5926033b9e1b9 upstream.

The RK3066 does have RGB display output, so it should be marked as such.

Fixes: f4a6de855eae ("drm: rockchip: vop: add rk3066 vop definitions")
Cc: stable@vger.kernel.org
Signed-off-by: Val Packett <val@packett.cool>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20240624204054.5524-3-val@packett.cool
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/rockchip/rockchip_vop_reg.c

index 9bcb40a640af29321f1805d06128ae26a4059b7c..e2c6ba26f4377d2916db143c777ab7fed20f623f 100644 (file)
@@ -515,6 +515,7 @@ static const struct vop_data rk3066_vop = {
        .output = &rk3066_output,
        .win = rk3066_vop_win_data,
        .win_size = ARRAY_SIZE(rk3066_vop_win_data),
+       .feature = VOP_FEATURE_INTERNAL_RGB,
        .max_output = { 1920, 1080 },
 };