All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: Add no-lvds quirk for Fujitsu Esprimo Q900
@ 2013-04-03 12:34 Christian Lamparter
  2013-04-03 15:26 ` Daniel Vetter
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Lamparter @ 2013-04-03 12:34 UTC (permalink / raw)
  To: dri-devel; +Cc: airlied, daniel.vetter, intel-gfx

The "Mobile Sandy Bridge CPUs" in the Fujitsu Esprimo Q900
mini desktop PCs are probably misleading the LVDS detection
code in intel_lvds_supported. Nothing is connected to the
LVDS ports in these systems.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
---
 drivers/gpu/drm/i915/intel_lvds.c |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/drivers/gpu/drm/i915/intel_lvds.c b/drivers/gpu/drm/i915/intel_lvds.c
index 3d1d974..65893b0 100644
--- a/drivers/gpu/drm/i915/intel_lvds.c
+++ b/drivers/gpu/drm/i915/intel_lvds.c
@@ -850,6 +850,14 @@ static const struct dmi_system_id intel_no_lvds[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "X7SPA-H"),
 		},
 	},
+	{
+		.callback = intel_no_lvds_dmi_callback,
+		.ident = "Fujitsu Esprimo Q900",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "ESPRIMO Q900"),
+		},
+	},
 
 	{ }	/* terminating entry */
 };
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm/i915: Add no-lvds quirk for Fujitsu Esprimo Q900
  2013-04-03 12:34 [PATCH] drm/i915: Add no-lvds quirk for Fujitsu Esprimo Q900 Christian Lamparter
@ 2013-04-03 15:26 ` Daniel Vetter
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Vetter @ 2013-04-03 15:26 UTC (permalink / raw)
  To: Christian Lamparter; +Cc: airlied, daniel.vetter, intel-gfx, dri-devel

On Wed, Apr 03, 2013 at 02:34:11PM +0200, Christian Lamparter wrote:
> The "Mobile Sandy Bridge CPUs" in the Fujitsu Esprimo Q900
> mini desktop PCs are probably misleading the LVDS detection
> code in intel_lvds_supported. Nothing is connected to the
> LVDS ports in these systems.
> 
> Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>

So despite that snb has a bit who's _only_ purpose is to allow the bios to
tell the driver whether there's an lvds output or not, someone screwed it
finally up :( We just can't win against the firmware ...

Queued for -next with cc: stable, thanks for the patch.
-Daniel
> ---
>  drivers/gpu/drm/i915/intel_lvds.c |    8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/drivers/gpu/drm/i915/intel_lvds.c b/drivers/gpu/drm/i915/intel_lvds.c
> index 3d1d974..65893b0 100644
> --- a/drivers/gpu/drm/i915/intel_lvds.c
> +++ b/drivers/gpu/drm/i915/intel_lvds.c
> @@ -850,6 +850,14 @@ static const struct dmi_system_id intel_no_lvds[] = {
>  			DMI_MATCH(DMI_PRODUCT_NAME, "X7SPA-H"),
>  		},
>  	},
> +	{
> +		.callback = intel_no_lvds_dmi_callback,
> +		.ident = "Fujitsu Esprimo Q900",
> +		.matches = {
> +			DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"),
> +			DMI_MATCH(DMI_PRODUCT_NAME, "ESPRIMO Q900"),
> +		},
> +	},
>  
>  	{ }	/* terminating entry */
>  };
> -- 
> 1.7.10.4
> 

-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-03 15:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-03 12:34 [PATCH] drm/i915: Add no-lvds quirk for Fujitsu Esprimo Q900 Christian Lamparter
2013-04-03 15:26 ` Daniel Vetter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.