summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvc0_fbcon.c
diff options
context:
space:
mode:
authorIlia Mirkin2015-06-29 10:07:20 +0200
committerBen Skeggs2015-07-27 10:56:10 +0200
commitd108142c0840ce389cd9898aa76943b3fb430b83 (patch)
treef9813092cb8d50c633c806a81effa79f86dc1286 /drivers/gpu/drm/nouveau/nvc0_fbcon.c
parentdrm/nouveau/bios: add proper support for opcode 0x59 (diff)
downloadkernel-qcow2-linux-d108142c0840ce389cd9898aa76943b3fb430b83.tar.gz
kernel-qcow2-linux-d108142c0840ce389cd9898aa76943b3fb430b83.tar.xz
kernel-qcow2-linux-d108142c0840ce389cd9898aa76943b3fb430b83.zip
drm/nouveau/fbcon/nv11-: correctly account for ring space usage
The RING_SPACE macro accounts how much space is used up so it's important to ask it for the right amount. Incorrect accounting of this can cause page faults down the line as writes are attempted outside of the ring. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Cc: stable@vger.kernel.org Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvc0_fbcon.c')
0 files changed, 0 insertions, 0 deletions