drm/nvc0: allow creation of buffers with any non-compressed memtype
authorBen Skeggs <bskeggs@redhat.com>
Sun, 13 Feb 2011 21:34:55 +0000 (07:34 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 24 Feb 2011 20:45:52 +0000 (06:45 +1000)
commitb5e2f0769a64046cefbfc307cbe6f7fa40dddf10
tree819ac0b4fbbe3b3330a40f52f79ae442c30ce8df
parent3425df486ca247d9e8487be06a6cd0763ba38180
drm/nvc0: allow creation of buffers with any non-compressed memtype

This adds a table of known nvc0 memtypes, and modifies the validity check
to allow any non-compressed type.  Support for Z compression will come at
a later point.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvc0_vram.c