]> git.karo-electronics.de Git - linux-beck.git/commit
drm/vmwgfx: Prune modes based on available VRAM size
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 5 Oct 2010 10:43:04 +0000 (12:43 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 6 Oct 2010 01:29:51 +0000 (11:29 +1000)
commite133e7371231e49c3e7d626e2251cb6f7c3ca1ad
treefbe8453b1243993e96f961f69b328cda05d096ab
parent3a939a5ece3030e60c966a885c8e9bd329c4faf7
drm/vmwgfx: Prune modes based on available VRAM size

This needs to be reviewed once we support screen objects and don't rely
on VRAM for the frame-buffer.

Also fix some integer overflow issues pointed out by Michel Daenzer.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
drivers/gpu/drm/vmwgfx/vmwgfx_fb.c
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c