https://github.com/torvalds/linux
Revision 0ba53171583f86bbcbba951fe172982f7fc3761c authored by Christopher Harvey on 26 February 2013, 15:55:44 UTC, committed by Dave Airlie on 07 March 2013, 22:31:31 UTC
A monitor or a user could request a resolution greater than the
available VRAM for the backing framebuffer. This change checks the
required framebuffer size against the max VRAM size and rejects modes
if they are too big. This change can also remove a mode request passed
in via the video= parameter.

Signed-off-by: Christopher Harvey <charvey@matrox.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
1 parent cc59487
History
Tip revision: 0ba53171583f86bbcbba951fe172982f7fc3761c authored by Christopher Harvey on 26 February 2013, 15:55:44 UTC
drm/mgag200: Reject modes that are too big for VRAM
Tip revision: 0ba5317

back to top