commit | 0ba53171583f86bbcbba951fe172982f7fc3761c | [log] [tgz] |
---|---|---|
author | Christopher Harvey <charvey@matrox.com> | Tue Feb 26 10:55:44 2013 -0500 |
committer | Dave Airlie <airlied@redhat.com> | Fri Mar 08 08:31:31 2013 +1000 |
tree | baf14d4c84706e13ac7b4c683dd0de476e27443c | |
parent | cc59487a05b1aae6987b4a5d56603ed3e603f82e [diff] |
drm/mgag200: Reject modes that are too big for VRAM 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>