hulk inclusion bugzilla: https://gitee.com/openeuler/kernel/issues/I8PS7G CVE: NA
---------------------------------------------
Add kabi_reserve in drm_connector.h
Signed-off-by: Lin Yujun linyujun809@huawei.com --- include/drm/drm_connector.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)
diff --git a/include/drm/drm_connector.h b/include/drm/drm_connector.h index d300fde6c1a4..d304ec8dd06b 100644 --- a/include/drm/drm_connector.h +++ b/include/drm/drm_connector.h @@ -33,6 +33,7 @@ #include <drm/drm_property.h>
#include <uapi/drm/drm_mode.h> +#include <linux/kabi.h>
struct drm_connector_helper_funcs; struct drm_modeset_acquire_ctx; @@ -321,6 +322,9 @@ struct drm_hdmi_info {
/** @dsc_cap: DSC capabilities of the sink */ struct drm_hdmi_dsc_cap dsc_cap; + + KABI_RESERVE(1) + KABI_RESERVE(2) };
/** @@ -816,6 +820,9 @@ struct drm_display_info { * @quirks: EDID based quirks. Internal to EDID parsing. */ u32 quirks; + + KABI_RESERVE(1) + KABI_RESERVE(2) };
int drm_display_info_set_bus_formats(struct drm_display_info *info, @@ -876,6 +883,8 @@ struct drm_tv_connector_state { unsigned int overscan; unsigned int saturation; unsigned int hue; + KABI_RESERVE(1) + KABI_RESERVE(2) };
/** @@ -1335,6 +1344,9 @@ struct drm_connector_funcs { * Allows connectors to create connector-specific debugfs files. */ void (*debugfs_init)(struct drm_connector *connector, struct dentry *root); + + KABI_RESERVE(1) + KABI_RESERVE(2) };
/** @@ -1481,6 +1493,9 @@ struct drm_cmdline_mode { * Did the mode have a preferred TV mode? */ bool tv_mode_specified; + + KABI_RESERVE(1) + KABI_RESERVE(2) };
/** @@ -1876,6 +1891,9 @@ struct drm_connector {
/** @hdr_sink_metadata: HDR Metadata Information read from sink */ struct hdr_sink_metadata hdr_sink_metadata; + + KABI_RESERVE(1) + KABI_RESERVE(2) };
#define obj_to_connector(x) container_of(x, struct drm_connector, base)