Skip to content

Commit 872b68e

Browse files
Johan Jonkermmind
authored andcommitted
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: Johan Jonker <[email protected]> Signed-off-by: Heiko Stuebner <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent ce0cb93 commit 872b68e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpu/drm/rockchip/rockchip_vop_reg.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ static const struct vop_win_data px30_vop_big_win_data[] = {
327327
};
328328

329329
static const struct vop_data px30_vop_big = {
330+
.version = VOP_VERSION(2, 6),
330331
.intr = &px30_intr,
331332
.feature = VOP_FEATURE_INTERNAL_RGB,
332333
.common = &px30_common,
@@ -342,6 +343,7 @@ static const struct vop_win_data px30_vop_lit_win_data[] = {
342343
};
343344

344345
static const struct vop_data px30_vop_lit = {
346+
.version = VOP_VERSION(2, 5),
345347
.intr = &px30_intr,
346348
.feature = VOP_FEATURE_INTERNAL_RGB,
347349
.common = &px30_common,

0 commit comments

Comments
 (0)