diff options
author | 2013-11-28 21:45:36 +0000 | |
---|---|---|
committer | 2013-11-28 21:45:36 +0000 | |
commit | 48896c80afb9f1bb1571cfe0c8ab61c08ae7ad29 (patch) | |
tree | 913ad97143b5bb5ac2ad6e8512efebb5e4b083eb | |
parent | add fb_queue and fb_delete to NAME, so man -k picks them up; (diff) | |
download | wireguard-openbsd-48896c80afb9f1bb1571cfe0c8ab61c08ae7ad29.tar.xz wireguard-openbsd-48896c80afb9f1bb1571cfe0c8ab61c08ae7ad29.zip |
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; |