diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2012-01-06 09:38:15 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-01-09 12:10:09 +0000 |
commit | 67e915e49a12ee08c22cb1db746bafd909988f85 (patch) | |
tree | 6786118f5a2930e675e66a27e3cdc1a12c54b55a /drivers/gpu/drm/radeon/radeon.h | |
parent | cc1f71942944890c7e05fc55dc4427c94b63d4f1 (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 7cb63cd2e738..73e05cb85eca 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h @@ -668,6 +668,8 @@ struct radeon_vm_manager { unsigned nvm; /* vram base address for page table entry */ u64 vram_base_offset; + /* is vm enabled? */ + bool enabled; }; /* |