Displaying 3 results from an estimated 3 matches for "lvdstableheader".
2017 Jul 25
1
[PATCH] bios: Restrict missing fp table message to desktop cards.
...tions(+), 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) {...
2017 Jul 25
0
[PATCH] bios: Demote missing fp table message to NV_DEBUG.
...rtions(+), 5 deletions(-)
diff --git a/drm/nouveau/nouveau_bios.c b/drm/nouveau/nouveau_bios.c
index b998c33a..dd6fba55 100644
--- a/drm/nouveau/nouveau_bios.c
+++ b/drm/nouveau/nouveau_bios.c
@@ -351,11 +351,8 @@ 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
+ /* Most laptop cards lack...
2014 Mar 23
0
[PATCH] drm/nouveau: allow nv04/nv50/nvc0+ parts of the driver to be separated
...false;
}
+#ifdef CONFIG_DRM_NOUVEAU_NV04
+
static uint16_t clkcmptable(struct nvbios *bios, uint16_t clktable, int pxclk)
{
int compare_record_len, i = 0;
@@ -257,6 +259,8 @@ int call_lvds_script(struct drm_device *dev, struct dcb_output *dcbent, int head
return ret;
}
+#endif
+
struct lvdstableheader {
uint8_t lvds_ver, headerlen, recordlen;
};
@@ -624,6 +628,8 @@ int nouveau_bios_parse_lvds_table(struct drm_device *dev, int pxclk, bool *dl, b
return 0;
}
+#ifdef CONFIG_DRM_NOUVEAU_NV04
+
int run_tmds_table(struct drm_device *dev, struct dcb_output *dcbent, int head, int pxclk)
{
/*...