hulk inclusion bugzilla: https://gitee.com/openeuler/kernel/issues/I8PS7G CVE: NA
---------------------------------------------
Add kabi_reserve in drm_crtc.h
Signed-off-by: Lin Yujun linyujun809@huawei.com --- include/drm/drm_crtc.h | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index 8b48a1974da3..4476b01f063d 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h @@ -34,6 +34,7 @@ #include <drm/drm_plane.h> #include <drm/drm_debugfs_crc.h> #include <drm/drm_mode_config.h> +#include <linux/kabi.h>
struct drm_connector; struct drm_device; @@ -385,6 +386,9 @@ struct drm_crtc_state {
/** @state: backpointer to global drm_atomic_state */ struct drm_atomic_state *state; + + KABI_RESERVE(1) + KABI_RESERVE(2) };
/** @@ -1175,6 +1179,9 @@ struct drm_crtc { * Initialized via drm_self_refresh_helper_init(). */ struct drm_self_refresh_data *self_refresh_data; + + KABI_RESERVE(1) + KABI_RESERVE(2) };
/**