diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2013-11-28 21:45:37 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2013-11-28 21:45:37 +0000 |
commit | 290f5e984f706b1e66ceb9741dee87bd6aa8ed4c (patch) | |
tree | cb98ac7950d0f879deb42881b718a59063343798 | |
parent | 9f083c2b9aee27fefd92a0d3439c99d87b1c212d (diff) |
Re-enable RADEON_INFO_VA_START and RADEON_INFO_IB_VM_MAX_SIZE.
suggested by jsg@
-rw-r--r-- | sys/dev/pci/drm/radeon/radeon_kms.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/pci/drm/radeon/radeon_kms.c b/sys/dev/pci/drm/radeon/radeon_kms.c index dff41e59a0b..ebd26d66502 100644 --- a/sys/dev/pci/drm/radeon/radeon_kms.c +++ b/sys/dev/pci/drm/radeon/radeon_kms.c @@ -1,4 +1,4 @@ -/* $OpenBSD: radeon_kms.c,v 1.12 2013/11/27 20:41:19 kettenis Exp $ */ +/* $OpenBSD: radeon_kms.c,v 1.13 2013/11/28 21:45:36 kettenis Exp $ */ /* * Copyright 2008 Advanced Micro Devices, Inc. * Copyright 2008 Red Hat Inc. @@ -959,22 +959,16 @@ 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; |