| .. | .. |
|---|
| 856 | 856 | struct drm_crtc_state *crtc_state, |
|---|
| 857 | 857 | unsigned int tmdsclk) |
|---|
| 858 | 858 | { |
|---|
| 859 | | - struct drm_display_mode mode; |
|---|
| 859 | + struct drm_display_mode mode = {}; |
|---|
| 860 | 860 | int max_lanes, max_rate_per_lane; |
|---|
| 861 | 861 | int max_dsc_lanes, max_dsc_rate_per_lane; |
|---|
| 862 | 862 | unsigned long max_frl_rate; |
|---|
| .. | .. |
|---|
| 1982 | 1982 | unsigned int *eotf) |
|---|
| 1983 | 1983 | { |
|---|
| 1984 | 1984 | struct drm_display_info *info = &conn_state->connector->display_info; |
|---|
| 1985 | | - struct drm_display_mode mode; |
|---|
| 1985 | + struct drm_display_mode mode = {}; |
|---|
| 1986 | 1986 | struct hdr_output_metadata *hdr_metadata; |
|---|
| 1987 | 1987 | u32 vic; |
|---|
| 1988 | 1988 | unsigned long tmdsclock, pixclock; |
|---|
| .. | .. |
|---|
| 2237 | 2237 | struct rockchip_crtc_state *s = to_rockchip_crtc_state(crtc_state); |
|---|
| 2238 | 2238 | struct rockchip_hdmi *hdmi = to_rockchip_hdmi(encoder); |
|---|
| 2239 | 2239 | unsigned int colorformat, bus_width, tmdsclk; |
|---|
| 2240 | | - struct drm_display_mode mode; |
|---|
| 2240 | + struct drm_display_mode mode = {}; |
|---|
| 2241 | 2241 | unsigned int output_mode; |
|---|
| 2242 | 2242 | unsigned long bus_format; |
|---|
| 2243 | 2243 | int color_depth; |
|---|