diff options
author | Francisco Jerez <currojerez@riseup.net> | 2011-11-19 11:22:37 -0500 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-12-21 04:01:47 -0500 |
commit | b2e0d195d29326fce6aef8f2f789028bf21d743f (patch) | |
tree | 9da0899b7f2896f6030a4192fea2b41fb2ce6f53 /drivers/gpu/drm/nouveau/nouveau_notifier.c | |
parent | 4e03b4af6dd3cff445fc0455805b43b101647bfc (diff) |
drm/nouveau: Fix notifier blocks over the 4GB mark.
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_notifier.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_notifier.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_notifier.c b/drivers/gpu/drm/nouveau/nouveau_notifier.c index 6abdbe6530a7..2ef883c4bbc1 100644 --- a/drivers/gpu/drm/nouveau/nouveau_notifier.c +++ b/drivers/gpu/drm/nouveau/nouveau_notifier.c | |||
@@ -115,7 +115,7 @@ nouveau_notifier_alloc(struct nouveau_channel *chan, uint32_t handle, | |||
115 | struct drm_nouveau_private *dev_priv = dev->dev_private; | 115 | struct drm_nouveau_private *dev_priv = dev->dev_private; |
116 | struct nouveau_gpuobj *nobj = NULL; | 116 | struct nouveau_gpuobj *nobj = NULL; |
117 | struct drm_mm_node *mem; | 117 | struct drm_mm_node *mem; |
118 | uint32_t offset; | 118 | uint64_t offset; |
119 | int target, ret; | 119 | int target, ret; |
120 | 120 | ||
121 | mem = drm_mm_search_free_in_range(&chan->notifier_heap, size, 0, | 121 | mem = drm_mm_search_free_in_range(&chan->notifier_heap, size, 0, |