drm/nouveau/kms/nv50: turn mode_set_base_atomic() into a stub
authorBen Skeggs <bskeggs@redhat.com>
Fri, 4 Nov 2016 07:20:36 +0000 (17:20 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 7 Nov 2016 04:04:59 +0000 (14:04 +1000)
This cannot currently be supported with atomic modesettting.

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

index 03a3e3fc84ab144d7e25bbfea1e8318c3730bdcb..9f0b70d8a6b696f5fe0e93ba8c88bcd5ab459595 100644 (file)
@@ -2530,9 +2530,7 @@ nv50_crtc_mode_set_base_atomic(struct drm_crtc *crtc,
                               struct drm_framebuffer *fb, int x, int y,
                               enum mode_set_atomic state)
 {
-       struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc);
-       nv50_display_flip_stop(crtc);
-       nv50_crtc_set_image(nv_crtc, fb, x, y, true);
+       WARN_ON(1);
        return 0;
 }