提交 88c8431c 编写于 作者: B Ben Skeggs

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

Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 60f7ab06
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册