]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/disp/gf119-: avoid creating non-existent heads
authorIlia Mirkin <imirkin@alum.mit.edu>
Mon, 3 Jul 2017 17:06:26 +0000 (13:06 -0400)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 22 Aug 2017 08:04:22 +0000 (18:04 +1000)
commit68b26391da640534b5ba5fef8589d1e2f5c4f9be
tree85e3b36620dfcb15c42c034abf639694a628f062
parent81bf9f86db178e197de81d40cf96cec06b800c41
drm/nouveau/disp/gf119-: avoid creating non-existent heads

We assume that each board has 4 heads for GF119+. However this is not
necessarily true - in the case of a GP108 board, the register indicated
that there were only 2.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101601
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_display.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/headgf119.c