]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit74ab79141d87b30de2804289c19b89017c8a2a4d
tree8d83bda0c83b3ce1906c93c9ee48a3455e44ca3c
parentef0e4101069e38cde247082397abb5679d05c0ec
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