summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvc0_fbcon.c
diff options
context:
space:
mode:
authorIlia Mirkin2015-06-30 02:43:46 +0200
committerBen Skeggs2015-07-27 10:56:10 +0200
commit4fd26cb1e4049c7a630d86d52864a5722c7453ac (patch)
treeb4e8f7a7d51d4efecf9a55a78b77a35940be8508 /drivers/gpu/drm/nouveau/nvc0_fbcon.c
parentdrm/nouveau/fbcon/nv11-: correctly account for ring space usage (diff)
downloadkernel-qcow2-linux-4fd26cb1e4049c7a630d86d52864a5722c7453ac.tar.gz
kernel-qcow2-linux-4fd26cb1e4049c7a630d86d52864a5722c7453ac.tar.xz
kernel-qcow2-linux-4fd26cb1e4049c7a630d86d52864a5722c7453ac.zip
drm/nouveau/fbcon/gf100-: reduce RING_SPACE allocation
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>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvc0_fbcon.c')
-rw-r--r--drivers/gpu/drm/nouveau/nvc0_fbcon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvc0_fbcon.c b/drivers/gpu/drm/nouveau/nvc0_fbcon.c
index 61246677e8dc..fcd2e5f27bb9 100644
--- a/drivers/gpu/drm/nouveau/nvc0_fbcon.c
+++ b/drivers/gpu/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);