Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b79d8a65 authored by Andrea Tacconi's avatar Andrea Tacconi Committed by Ben Skeggs
Browse files

drm/nouveau: add NV18 device id to call_lvds_manufacturer_script



This fixes imac black screen (NV18 card)

Signed-off-by: default avatarAndrea Tacconi <tacconet@libero.it>
Signed-off-by: default avatarFrancisco Jerez <currojerez@riseup.net>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 716abaa8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3155,7 +3155,7 @@ static int call_lvds_manufacturer_script(struct drm_device *dev, struct dcb_entr
	}
#ifdef __powerpc__
	/* Powerbook specific quirks */
	if (script == LVDS_RESET && ((dev->pci_device & 0xffff) == 0x0179 || (dev->pci_device & 0xffff) == 0x0329))
	if (script == LVDS_RESET && ((dev->pci_device & 0xffff) == 0x0179 || (dev->pci_device & 0xffff) == 0x0189 || (dev->pci_device & 0xffff) == 0x0329))
		nv_write_tmds(dev, dcbent->or, 0, 0x02, 0x72);
	if ((dev->pci_device & 0xffff) == 0x0179 || (dev->pci_device & 0xffff) == 0x0189 || (dev->pci_device & 0xffff) == 0x0329) {
		if (script == LVDS_PANEL_ON) {