aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_dma.c b/drivers/gpu/drm/nouveau/nouveau_dma.c
index f1fd3f2b9813..3f7f78e03d42 100644
--- a/drivers/gpu/drm/nouveau/nouveau_dma.c
+++ b/drivers/gpu/drm/nouveau/nouveau_dma.c
@@ -130,7 +130,7 @@ READ_GET(struct nouveau_channel *chan, uint32_t *get)
130 130
131 val = nvchan_rd32(chan, chan->user_get); 131 val = nvchan_rd32(chan, chan->user_get);
132 if (val < chan->pushbuf_base || 132 if (val < chan->pushbuf_base ||
133 val >= chan->pushbuf_base + chan->pushbuf_bo->bo.mem.size) { 133 val > chan->pushbuf_base + (chan->dma.max << 2)) {
134 /* meaningless to dma_wait() except to know whether the 134 /* meaningless to dma_wait() except to know whether the
135 * GPU has stalled or not 135 * GPU has stalled or not
136 */ 136 */