[PATCH] drm/mgag200: Reject modes that are too big for VRAM
Dave Airlie
airlied at gmail.com
Wed Mar 6 16:38:40 PST 2013
On Wed, Feb 27, 2013 at 1:55 AM, Christopher Harvey <charvey at matrox.com> wrote:
> 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.
I can't say I like the bpp finding code, but my brain is failing to
come up with something better,
so yeah I think this is fine, those cards with 1.5MB VRAM always piss me off :-)
I'll apply these, send on any others!
Dave.
More information about the dri-devel
mailing list