A 2 minute google search shows that this error is prevalent with mobile Nvidia
GPUs. Since we can assume mobile parts have no fp table, demote the error to
desktop cards.

Also reword the comment since the error is not restricted to Apple hardware.

Signed-off by: Rosen Penev <[email protected]>
---
 drm/nouveau/nouveau_bios.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drm/nouveau/nouveau_bios.c b/drm/nouveau/nouveau_bios.c
index b998c33a..7c17878d 100644
--- a/drm/nouveau/nouveau_bios.c
+++ b/drm/nouveau/nouveau_bios.c
@@ -351,11 +351,11 @@ static int parse_fp_mode_table(struct drm_device *dev, 
struct nvbios *bios)
        struct lvdstableheader lth;
 
        if (bios->fp.fptablepointer == 0x0) {
-               /* Apple cards don't have the fp table; the laptops use DDC */
-               /* The table is also missing on some x86 IGPs */
-#ifndef __powerpc__
-               NV_ERROR(drm, "Pointer to flat panel table invalid\n");
-#endif
+               if (!bios->is_mobile) {
+                       /* Most laptop cards lack an fp table. They use DDC.*/
+                       NV_ERROR(drm, "Pointer to flat panel table invalid\n");
+               }
+
                bios->digital_min_front_porch = 0x4b;
                return 0;
        }
-- 
2.13.3

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

Reply via email to