nv50: allow non-nv12 buffers to be created, just pass them through to vl
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 17 Aug 2013 14:53:09 +0000 (10:53 -0400)
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>
Sat, 17 Aug 2013 15:58:36 +0000 (17:58 +0200)
commita8346a2f52d08233d376db3aa8205d0b2cc74318
treef12451bb3c5f841d78e77cc314462c038545fbeb
parentbef423bee62f7b74858f1b7f74be21405ca75eef
nv50: allow non-nv12 buffers to be created, just pass them through to vl

Since we expose non-NV12 formats as supported when there is no decoer
profile selected, make sure that those formats are actually allowed to
be allocated.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Tested-by: Emil Velikov <emil.l.velikov@gmail.com>
Cc: "9.2" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nv50/nv84_video.c