]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nv50/disp: fix selection of bios script for analog outputs
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Thu, 3 Jan 2013 18:38:45 +0000 (19:38 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Sun, 13 Jan 2013 08:07:45 +0000 (18:07 +1000)
commita9c5fe04da1fe3f7f7c09b7b1c7a6f7514632bb0
treefc13ab8584bea1f047ff5b07cccde9fe5b764763
parent5d0e9c04d55e2808023995a1a37434044a39ad89
drm/nv50/disp: fix selection of bios script for analog outputs

Analog output number was overwritten by value from digital output path.
Fix it.

Fixes resume from s2ram: https://bugs.freedesktop.org/show_bug.cgi?id=58729
(as stumbled on by J Binder, Pontus Fuchs and me)
Fixes blank screen on module load (reported by Sune Mølgaard).

Fixes regression from commit 22b4c8c6ef3da3c9eec35c36fe736ab145d417e3
("drm/nv50/disp: move remaining interrupt handling into core").

Reported-by: J Binder <wheel@herr-der-mails.de>
Reported-by: Pontus Fuchs <pontus.fuchs@gmail.com>
Reported-by: Sune Mølgaard <sune@molgaard.org>
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Tested-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Tested-by: Sune Mølgaard <sune@molgaard.org>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/engine/disp/nv50.c