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
186ecad21c854385823a430b1402053ae7fd59dc
("drm/nv50/disp: move remaining interrupt handling into core").
Reported-by: J Binder <[email protected]>
Reported-by: Pontus Fuchs <[email protected]>
Reported-by: Sune Mølgaard <[email protected]>
Signed-off-by: Marcin Slusarz <[email protected]>
Tested-by: Marcin Slusarz <[email protected]>
Tested-by: Sune Mølgaard <[email protected]>
Signed-off-by: Ben Skeggs <[email protected]>