diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-11-22 15:35:50 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-11-22 15:35:50 +0000 |
commit | 411899ca491a03152c7803585e5b999d2f566201 (patch) | |
tree | aaff0b3418c817a8bde2d0d58ae1842b28724c64 /sys/dev/pci/drm/radeon | |
parent | ae00fbc8a4af662a3b1361075ec3b2936485b844 (diff) |
Remove drm_gem_object_alloc() and associated infrastructure. It's unused and
has been removed upstream as well.
Diffstat (limited to 'sys/dev/pci/drm/radeon')
-rw-r--r-- | sys/dev/pci/drm/radeon/radeon_gem.c | 9 | ||||
-rw-r--r-- | sys/dev/pci/drm/radeon/radeon_kms.c | 4 |
2 files changed, 2 insertions, 11 deletions
diff --git a/sys/dev/pci/drm/radeon/radeon_gem.c b/sys/dev/pci/drm/radeon/radeon_gem.c index 37ffed0dcab..0292a511e5f 100644 --- a/sys/dev/pci/drm/radeon/radeon_gem.c +++ b/sys/dev/pci/drm/radeon/radeon_gem.c @@ -1,4 +1,4 @@ -/* $OpenBSD: radeon_gem.c,v 1.7 2015/04/18 14:47:35 jsg Exp $ */ +/* $OpenBSD: radeon_gem.c,v 1.8 2015/11/22 15:35:49 kettenis Exp $ */ /* * Copyright 2008 Advanced Micro Devices, Inc. * Copyright 2008 Red Hat Inc. @@ -30,13 +30,6 @@ #include <dev/pci/drm/radeon_drm.h> #include "radeon.h" -int radeon_gem_object_init(struct drm_gem_object *obj) -{ - BUG(); - - return 0; -} - void radeon_gem_object_free(struct drm_gem_object *gobj) { struct radeon_bo *robj = gem_to_radeon_bo(gobj); diff --git a/sys/dev/pci/drm/radeon/radeon_kms.c b/sys/dev/pci/drm/radeon/radeon_kms.c index b1885e39f96..4737c19754a 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.43 2015/11/16 11:24:58 kettenis Exp $ */ +/* $OpenBSD: radeon_kms.c,v 1.44 2015/11/22 15:35:49 kettenis Exp $ */ /* * Copyright 2008 Advanced Micro Devices, Inc. * Copyright 2008 Red Hat Inc. @@ -54,7 +54,6 @@ void radeon_driver_irq_preinstall_kms(struct drm_device *); int radeon_driver_irq_postinstall_kms(struct drm_device *); void radeon_driver_irq_uninstall_kms(struct drm_device *d); -int radeon_gem_object_init(struct drm_gem_object *); void radeon_gem_object_free(struct drm_gem_object *); int radeon_gem_object_open(struct drm_gem_object *, struct drm_file *); void radeon_gem_object_close(struct drm_gem_object *, struct drm_file *); @@ -231,7 +230,6 @@ static struct drm_driver_info kms_driver = { .irq_postinstall = radeon_driver_irq_postinstall_kms, .irq_uninstall = radeon_driver_irq_uninstall_kms, .ioctls = radeon_ioctls_kms, - .gem_init_object = radeon_gem_object_init, .gem_free_object = radeon_gem_object_free, .gem_open_object = radeon_gem_object_open, .gem_close_object = radeon_gem_object_close, |