diff options
author | Mark Kettenis <kettenis@openbsd.org> | 2013-07-06 13:20:00 +0200 |
---|---|---|
committer | Jonathan Gray <jsg@jsg.id.au> | 2013-08-12 10:44:43 +1000 |
commit | 7f1a7b57dec1d44e4060bfdcfcd5bcc69e150a37 (patch) | |
tree | 3b52faf2b52e92282ab9b68fa496e02141e18d53 /sys/dev | |
parent | 5b643acc905d2463d205c021a5c18df25056feee (diff) |
don't advertise "vm" support (RADEON_INFO_VA_START/IB_VM_MAX_SIZE) just yet
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/drm/radeon/radeon_kms.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/radeon/radeon_kms.c b/sys/dev/pci/drm/radeon/radeon_kms.c index bf0f2952c0c..b86fde8f1c1 100644 --- a/sys/dev/pci/drm/radeon/radeon_kms.c +++ b/sys/dev/pci/drm/radeon/radeon_kms.c @@ -1914,16 +1914,22 @@ int radeon_info_ioctl(struct drm_device *dev, void *data, struct drm_file *filp) break; case RADEON_INFO_VA_START: /* this is where we report if vm is supported or not */ + return -EINVAL; +#ifdef notyet if (rdev->family < CHIP_CAYMAN) return -EINVAL; value = RADEON_VA_RESERVED_SIZE; break; +#endif case RADEON_INFO_IB_VM_MAX_SIZE: /* this is where we report if vm is supported or not */ + return -EINVAL; +#ifdef notyet if (rdev->family < CHIP_CAYMAN) return -EINVAL; value = RADEON_IB_VM_MAX_SIZE; break; +#endif case RADEON_INFO_MAX_PIPES: if (rdev->family >= CHIP_TAHITI) value = rdev->config.si.max_cu_per_sh; |