Skip to content

Commit

Permalink
drm/nouveau/fbcon/gf100-: reduce RING_SPACE allocation
Browse files Browse the repository at this point in the history
We only emit 58 words to the ring, not 60.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Ilia Mirkin authored and Ben Skeggs committed Jul 27, 2015
1 parent d108142 commit 4fd26cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/nouveau/nvc0_fbcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ nvc0_fbcon_accel_init(struct fb_info *info)
return -EINVAL;
}

ret = RING_SPACE(chan, 60);
ret = RING_SPACE(chan, 58);
if (ret) {
WARN_ON(1);
nouveau_fbcon_gpu_lockup(info);
Expand Down

0 comments on commit 4fd26cb

Please sign in to comment.