提交 4fd26cb1 编写于 作者: I Ilia Mirkin 提交者: Ben Skeggs

drm/nouveau/fbcon/gf100-: reduce RING_SPACE allocation

We only emit 58 words to the ring, not 60.
Signed-off-by: NIlia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 d108142c
...@@ -188,7 +188,7 @@ nvc0_fbcon_accel_init(struct fb_info *info) ...@@ -188,7 +188,7 @@ nvc0_fbcon_accel_init(struct fb_info *info)
return -EINVAL; return -EINVAL;
} }
ret = RING_SPACE(chan, 60); ret = RING_SPACE(chan, 58);
if (ret) { if (ret) {
WARN_ON(1); WARN_ON(1);
nouveau_fbcon_gpu_lockup(info); nouveau_fbcon_gpu_lockup(info);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册