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
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Reference in a new issue