Displaying 1 result from an estimated 1 matches for "ad146e7".
Did you mean:
a0946e7
2012 Apr 25
5
[PATCH v2 4/4] drm/nouveau: gpu lockup recovery
...S_MODULE,
.open = drm_open,
.release = drm_release,
- .unlocked_ioctl = drm_ioctl,
+ .unlocked_ioctl = nouveau_ioctl,
.mmap = nouveau_ttm_mmap,
.poll = drm_poll,
.fasync = drm_fasync,
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h
index d120baf..ad146e7 100644
--- a/drivers/gpu/drm/nouveau/nouveau_drv.h
+++ b/drivers/gpu/drm/nouveau/nouveau_drv.h
@@ -704,9 +704,25 @@ enum nouveau_card_type {
NV_E0 = 0xe0,
};
+struct intr_rwsem {
+ struct rw_semaphore rwsem;
+ struct mutex mutex;
+};
+
+extern void intr_rwsem_init(struct intr_rwsem *r);
+...