diff options
author | Zack Rusin <[email protected]> | 2022-03-02 10:24:24 -0500 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2022-05-13 10:29:24 -0400 |
commit | 3059d9b9f6aa433a55b9d0d21b566396d5497c33 (patch) | |
tree | b848357bc7132b9aa13f822afcbae7e67eabe7ab /net/unix/sysctl_net_unix.c | |
parent | 1d6595b4cd47acfd824550f48f10b54a6f0e93ee (diff) |
drm/vmwgfx: Initialize drm_mode_fb_cmd2
Transition to drm_mode_fb_cmd2 from drm_mode_fb_cmd left the structure
unitialized. drm_mode_fb_cmd2 adds a few additional members, e.g. flags
and modifiers which were never initialized. Garbage in those members
can cause random failures during the bringup of the fbcon.
Initializing the structure fixes random blank screens after bootup due
to flags/modifiers mismatches during the fbcon bring up.
Fixes: dabdcdc9822a ("drm/vmwgfx: Switch to mode_cmd2")
Signed-off-by: Zack Rusin <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: <[email protected]> # v4.10+
Reviewed-by: Martin Krastev <[email protected]>
Reviewed-by: Maaz Mombasawala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions