aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/mgag200/mgag200_i2c.c
diff options
context:
space:
mode:
authorChristopher Harvey <charvey@matrox.com>2013-02-26 10:55:44 -0500
committerDave Airlie <airlied@redhat.com>2013-03-08 08:31:31 +1000
commit0ba53171583f86bbcbba951fe172982f7fc3761c (patch)
treebaf14d4c84706e13ac7b4c683dd0de476e27443c /drivers/gpu/drm/mgag200/mgag200_i2c.c
parentdrm/mgag200: 'fbdev_list' in 'struct mga_fbdev' is not used (diff)
downloadlinux-dev-0ba53171583f86bbcbba951fe172982f7fc3761c.tar.xz
linux-dev-0ba53171583f86bbcbba951fe172982f7fc3761c.zip
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions