]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/mxm: initial implementation of dcb sanitisation
authorBen Skeggs <bskeggs@redhat.com>
Wed, 12 Oct 2011 06:36:42 +0000 (16:36 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 21 Dec 2011 09:01:41 +0000 (19:01 +1000)
commit59c11a8c70eaf015b117d06a1c911df42ece08e3
treec88d961c30eb46da840781f5c1173c4cdcf6b8f3
parent47df8d1ee75a4801853d1ec49a29cc25d6d22356
drm/nouveau/mxm: initial implementation of dcb sanitisation

The DCB table provided by the VBIOS on most MXM chips has a number of
entries which either need to be disabled, or modified according to the
MXM-SIS Output Device Descriptors.

The x86 vbios code usually takes care of this for us, however, with the
large number of laptops now with switchable graphics or optimus, a lot
of the time nouveau is responsible for POSTing the card instead - leaving
some fun situations like, plugging in a monitor and having nouveau decide
3 connectors actually just got plugged in..

No MXM-SIS fetching methods implemented yet.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/Makefile
drivers/gpu/drm/nouveau/nouveau_bios.c
drivers/gpu/drm/nouveau/nouveau_bios.h
drivers/gpu/drm/nouveau/nouveau_drv.c
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nouveau_mxm.c [new file with mode: 0644]