Skip to content
Permalink
Browse files

kms: lvds panel strap moved again on maxwell

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
skeggsb committed Oct 19, 2016
1 parent 1ce4977 commit 595ad41a7b45b44062164ff637cf8f2a18f945d2
Showing with 3 additions and 0 deletions.
  1. +3 −0 drm/nouveau/nouveau_bios.c
@@ -333,6 +333,9 @@ get_fp_strap(struct drm_device *dev, struct nvbios *bios)
if (bios->major_version < 5 && bios->data[0x48] & 0x4)
return NVReadVgaCrtc5758(dev, 0, 0xf) & 0xf;

if (drm->device.info.family >= NV_DEVICE_INFO_V0_MAXWELL)
return nvif_rd32(device, 0x001800) & 0x0000000f;
else
if (drm->device.info.family >= NV_DEVICE_INFO_V0_TESLA)
return (nvif_rd32(device, NV_PEXTDEV_BOOT_0) >> 24) & 0xf;
else

0 comments on commit 595ad41

Please sign in to comment.
You can’t perform that action at this time.