Ilia Mirkin
2015-Jun-30 00:43 UTC
[Nouveau] [PATCH] fbcon/gf100-: reduce RING_SPACE allocation
We only emit 58 words to the ring, not 60. Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- drm/nouveau/nvc0_fbcon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drm/nouveau/nvc0_fbcon.c b/drm/nouveau/nvc0_fbcon.c index 6124667..fcd2e5f 100644 --- a/drm/nouveau/nvc0_fbcon.c +++ b/drm/nouveau/nvc0_fbcon.c @@ -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); -- 2.3.6