Commit 872b68e9 authored by Johan Jonker's avatar Johan Jonker Committed by Heiko Stuebner

drm/rockchip: vop: add PX30 version info

To reduce memory various Rockchip VOP versions share
common reg structures. However more recent added SoCs not
always have to same futures as the old ones.
Add PX30 missing version info, so all VOP version checks
work correct if needed in the future.
Signed-off-by: default avatarJohan Jonker <jbx6244@gmail.com>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20210131125016.10837-1-jbx6244@gmail.com
parent ce0cb93a
...@@ -327,6 +327,7 @@ static const struct vop_win_data px30_vop_big_win_data[] = { ...@@ -327,6 +327,7 @@ static const struct vop_win_data px30_vop_big_win_data[] = {
}; };
static const struct vop_data px30_vop_big = { static const struct vop_data px30_vop_big = {
.version = VOP_VERSION(2, 6),
.intr = &px30_intr, .intr = &px30_intr,
.feature = VOP_FEATURE_INTERNAL_RGB, .feature = VOP_FEATURE_INTERNAL_RGB,
.common = &px30_common, .common = &px30_common,
...@@ -342,6 +343,7 @@ static const struct vop_win_data px30_vop_lit_win_data[] = { ...@@ -342,6 +343,7 @@ static const struct vop_win_data px30_vop_lit_win_data[] = {
}; };
static const struct vop_data px30_vop_lit = { static const struct vop_data px30_vop_lit = {
.version = VOP_VERSION(2, 5),
.intr = &px30_intr, .intr = &px30_intr,
.feature = VOP_FEATURE_INTERNAL_RGB, .feature = VOP_FEATURE_INTERNAL_RGB,
.common = &px30_common, .common = &px30_common,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment