drm/radeon/kms: Only restrict BO to visible VRAM size when pinning to VRAM.
authorMichel Dänzer <daenzer@vmware.com>
Fri, 26 Mar 2010 19:18:55 +0000 (19:18 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 31 Mar 2010 03:12:59 +0000 (13:12 +1000)
commit3ca82da3ebe019facd611184385897fa614e6b9e
tree1d7a44ea9adc9d8578ea2e57ea11f459f2d293e4
parentb8c40d6269d5e515341599b2e395f2dab4490d74
drm/radeon/kms: Only restrict BO to visible VRAM size when pinning to VRAM.

This prevented radeon.test=1 from testing transfers from/to GTT beyond the
visible VRAM size.

Signed-off-by: Michel Dänzer <daenzer@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_object.c