drm/vmwgfx: Really support other depths than 32
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 5 Oct 2010 10:42:59 +0000 (12:42 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 6 Oct 2010 01:15:18 +0000 (11:15 +1000)
commitd3216a0c3133d8e88ec45c7ecd9f38b421f90c03
tree2657da97b91b2f68febcf289ae0b8a7a1cc667d5
parentfb7ba2114bcd8bb51640c20bc68f89164b29b9ed
drm/vmwgfx: Really support other depths than 32

Also add some sanity checks.

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