]> Pileus Git - ~andy/linux/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)
commitb4c26818aeb4159dd537eff6453ae5ebf7a69723
treec88d961c30eb46da840781f5c1173c4cdcf6b8f3
parentbefb51e9c97e783c86a1da27bdda3a638d2f02c7
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]