Displaying 1 result from an estimated 1 matches for "drm_nouveau_gem_pin".
2010 Jan 18
1
[PATCH] drm: remove UMS leftover
...--- a/drivers/gpu/drm/nouveau/nouveau_gem.c 2010-01-18 12:48:52.592873539 +0100
+++ b/drivers/gpu/drm/nouveau/nouveau_gem.c 2010-01-18 12:53:02.136129301 +0100
@@ -817,74 +817,6 @@
}
int
-nouveau_gem_ioctl_pin(struct drm_device *dev, void *data,
- struct drm_file *file_priv)
-{
- struct drm_nouveau_gem_pin *req = data;
- struct drm_gem_object *gem;
- struct nouveau_bo *nvbo;
- int ret = 0;
-
- NOUVEAU_CHECK_INITIALISED_WITH_RETURN;
-
- if (drm_core_check_feature(dev, DRIVER_MODESET)) {
- NV_ERROR(dev, "pin only allowed without kernel modesetting\n");
- return -EINVAL;
- }
-
- if (!DRM_SUS...