drm/nouveau/kms/nv50-: fix bug preventing non-vsync'd page flips
authorBen Skeggs <bskeggs@redhat.com>
Fri, 3 May 2019 02:57:36 +0000 (12:57 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 14 May 2019 06:58:06 +0000 (16:58 +1000)
Accidentally introduced during Volta bring-up.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/dispnv50/wndw.c

index 471a39a077e55cb65c7c6df5873458ff94060573..283ff690350ea76ee20fe7db1beda003631f4be2 100644 (file)
@@ -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;
        }