Commit 98e2059a authored by Helge Deller's avatar Helge Deller Committed by Robin Peng
Browse files

UPSTREAM: fbmem: Check virtual screen sizes in fb_set_var()



commit 6c11df58 upstream.

Verify that the fbdev or drm driver correctly adjusted the virtual
screen sizes. On failure report the failing driver and reject the screen
size change.

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
Reviewed-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Cc: stable@vger.kernel.org # v5.4+
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Bug: b8121282
Bug: 255071426
Signed-off-by: default avatarTodd Kjos <tkjos@google.com>
Change-Id: Ia1a16bfbda7f62f1707a5a54ba774a058698a4e3
(cherry picked from commit cf3742cb)
parent f788ba16
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment