
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9244H --------------------------- Reserve space for drm_plane and drm_plane_state in drm_plane.h. Signed-off-by: Wang Wensheng <wangwensheng4@huawei.com> --- include/drm/drm_plane.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/drm/drm_plane.h b/include/drm/drm_plane.h index 79d62856defb..1cd74bf1aedf 100644 --- a/include/drm/drm_plane.h +++ b/include/drm/drm_plane.h @@ -25,6 +25,7 @@ #include <linux/list.h> #include <linux/ctype.h> +#include <linux/kabi.h> #include <drm/drm_mode_object.h> #include <drm/drm_color_mgmt.h> #include <drm/drm_rect.h> @@ -237,6 +238,10 @@ struct drm_plane_state { /** @state: backpointer to global drm_atomic_state */ struct drm_atomic_state *state; + KABI_RESERVE(1) + KABI_RESERVE(2) + KABI_RESERVE(3) + KABI_RESERVE(4) }; static inline struct drm_rect @@ -748,6 +753,10 @@ struct drm_plane { * scaling. */ struct drm_property *scaling_filter_property; + KABI_RESERVE(1) + KABI_RESERVE(2) + KABI_RESERVE(3) + KABI_RESERVE(4) }; #define obj_to_plane(x) container_of(x, struct drm_plane, base) -- 2.17.1