Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 595ad41
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drm/nouveau/nouveau_bios.c
Expand Up @@ -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
Expand Down

0 comments on commit 595ad41

Please sign in to comment.