Commit 88c8431c authored by Ben Skeggs's avatar Ben Skeggs

drm/nv50/dp: fix hack to work for macbooks booted via EFI

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 60f7ab06
...@@ -318,6 +318,8 @@ nv50_sor_create(struct drm_connector *connector, struct dcb_entry *entry) ...@@ -318,6 +318,8 @@ nv50_sor_create(struct drm_connector *connector, struct dcb_entry *entry)
uint32_t tmp; uint32_t tmp;
tmp = nv_rd32(dev, 0x61c700 + (or * 0x800)); tmp = nv_rd32(dev, 0x61c700 + (or * 0x800));
if (!tmp)
tmp = nv_rd32(dev, 0x610798 + (or * 8));
switch ((tmp & 0x00000f00) >> 8) { switch ((tmp & 0x00000f00) >> 8) {
case 8: case 8:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment