[Nouveau] [PATCH] fbcon/gf100-: reduce RING_SPACE allocation
Ilia Mirkin
imirkin at alum.mit.edu
Mon Jun 29 17:43:46 PDT 2015
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
More information about the Nouveau
mailing list