]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/nouveau: fix POST detection for certain chipsets
authorBen Skeggs <bskeggs@redhat.com>
Tue, 25 May 2010 03:47:16 +0000 (13:47 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 28 May 2010 06:06:28 +0000 (16:06 +1000)
commitd13102c6b4836289138431e3fbfc08e90c925ffd
tree5208465fcf72117479373789909a06de6a06b3e5
parent7fc74f17e6c9b4d86371c3a947afc32bd6bc9691
drm/nouveau: fix POST detection for certain chipsets

We totally fail at detecting un-POSTed chipsets prior to G80.  This commit
changes the pre-G80 POST detection to read the programmed horizontal total
from CRTC 0, and assume the card isn't POSTed if it's 0.

NVIDIA use some other heuristics more similar to what we do on G80, but I
wasted quite a long time trying to figure out the exact specifics of what
they do so we can try this for a bit instead.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_bios.c