drm/radeon/kms: check if vm is supported in VA ioctl
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 6 Jan 2012 14:38:15 +0000 (09:38 -0500)
committerDave Airlie <airlied@redhat.com>
Mon, 9 Jan 2012 12:10:09 +0000 (12:10 +0000)
commit67e915e49a12ee08c22cb1db746bafd909988f85
tree6786118f5a2930e675e66a27e3cdc1a12c54b55a
parentcc1f71942944890c7e05fc55dc4427c94b63d4f1
drm/radeon/kms: check if vm is supported in VA ioctl

Add a VM manager enabled field and use it to check if
vm is enabled.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: jglisse@redhat.com
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_cs.c
drivers/gpu/drm/radeon/radeon_gart.c
drivers/gpu/drm/radeon/radeon_gem.c