summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2019-05-03 04:57:36 +0200
committerBen Skeggs <bskeggs@redhat.com>2019-05-14 08:58:06 +0200
commite4702c01b7b12c0d069058ed2a3eb75edb054556 (patch)
tree81db4b362743734554773865a2990af66ebdec8c /drivers/gpu
parentdrm/nouveau/kms/gv100-: fix spurious window immediate interlocks (diff)
downloadlinux-e4702c01b7b12c0d069058ed2a3eb75edb054556.tar.xz
linux-e4702c01b7b12c0d069058ed2a3eb75edb054556.zip
drm/nouveau/kms/nv50-: fix bug preventing non-vsync'd page flips
Accidentally introduced during Volta bring-up. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/nouveau/dispnv50/wndw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/dispnv50/wndw.c b/drivers/gpu/drm/nouveau/dispnv50/wndw.c
index 471a39a077e5..283ff690350e 100644
--- a/drivers/gpu/drm/nouveau/dispnv50/wndw.c
+++ b/drivers/gpu/drm/nouveau/dispnv50/wndw.c
@@ -127,7 +127,7 @@ void
nv50_wndw_flush_set(struct nv50_wndw *wndw, u32 *interlock,
struct nv50_wndw_atom *asyw)
{
- if (interlock) {
+ if (interlock[NV50_DISP_INTERLOCK_CORE]) {
asyw->image.mode = 0;
asyw->image.interval = 1;
}