Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

+2
+2
drivers/gpu/drm/nouveau/nv50_sor.c
··· 318 318 uint32_t tmp; 319 319 320 320 tmp = nv_rd32(dev, 0x61c700 + (or * 0x800)); 321 + if (!tmp) 322 + tmp = nv_rd32(dev, 0x610798 + (or * 8)); 321 323 322 324 switch ((tmp & 0x00000f00) >> 8) { 323 325 case 8: