drm/nv50/dp: fix hack to work for macbooks booted via EFI
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
60f7ab0665
commit
88c8431cbb
@ -318,6 +318,8 @@ nv50_sor_create(struct drm_connector *connector, struct dcb_entry *entry)
|
||||
uint32_t tmp;
|
||||
|
||||
tmp = nv_rd32(dev, 0x61c700 + (or * 0x800));
|
||||
if (!tmp)
|
||||
tmp = nv_rd32(dev, 0x610798 + (or * 8));
|
||||
|
||||
switch ((tmp & 0x00000f00) >> 8) {
|
||||
case 8:
|
||||
|
Loading…
Reference in New Issue
Block a user