From: Christopher Harvey Date: Tue, 26 Feb 2013 15:55:44 +0000 (-0500) Subject: drm/mgag200: Reject modes that are too big for VRAM X-Git-Tag: v3.9-rc2~15^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ba53171583f86bbcbba951fe172982f7fc3761c;p=pandora-kernel.git 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 Signed-off-by: Dave Airlie --- Reading git-diff-tree failed