]> 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)
commitadbb32b14551d82831cc9c0a3d5578bbb8c07639
tree85e3b36620dfcb15c42c034abf639694a628f062
parent99673b4bdcf4d6955ebb28734794f967e392e5e8
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