drm/nouveau/kms/nv50-: guard against enabling cursor on disabled heads

commit 697bb728d9 upstream.

Userspace has started doing this, which upsets the display class hw
error checking in various unpleasant ways.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Ben Skeggs 2015-07-28 17:20:57 +10:00 • committed by Greg Kroah-Hartman
commit 140d4baa12