drm/nouveau/kms/nv50: skip core channel cursor update on position-only changes
authorBen Skeggs <bskeggs@redhat.com>
Mon, 1 May 2017 06:53:40 +0000 (16:53 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 11 May 2017 22:29:41 +0000 (08:29 +1000)
commite6db95799b1b870aae15682a6d0898df9e9dfb38
tree8d83bda0c83b3ce1906c93c9ee48a3455e44ca3c
parent36601c2b36e27435d9be33cfa092120ff69914eb
drm/nouveau/kms/nv50: skip core channel cursor update on position-only changes

The DRM core used to only call prepare_fb/cleanup_fb() when a plane's
framebuffer changed, which achieved the desired effect.

It's apparently now up to the driver to decide on its own.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Cc: stable@vger.kernel.org [4.11+]
drivers/gpu/drm/nouveau/nv50_display.c