diff mbox

drm/i915: no lvds quirk for hp t5740

Message ID 1366135229-14552-1-git-send-email-ben@bnc.nl (mailing list archive)
State New, archived
Headers show

Commit Message

Ben Mesman (Bossers & Cnossen BV) April 16, 2013, 6 p.m. UTC
Last year, a patch was made for the "HP t5740e Thin Client" (see
http://lists.freedesktop.org/archives/dri-devel/2012-May/023245.html).
This device reports an lvds panel, but does not really have one.

The predecessor of this device is the "hp t5740", which also does not have
an lvds panel. This patch will add the same quirk for this device.

Signed-off-by: Ben Mesman <ben@bnc.nl>
---
 drivers/gpu/drm/i915/intel_lvds.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Ben Mesman (Bossers & Cnossen BV) May 30, 2013, 7:32 a.m. UTC | #1
Hello,

Did anyone pick up this patch? Or is there a problem with it?

Thanks,
Ben Mesman.

> -----Oorspronkelijk bericht-----
> Van: Ben Mesman [mailto:ben@bnc.nl]
> Verzonden: dinsdag 16 april 2013 20:00
> Aan: Daniel Vetter
> CC: dri-devel@lists.freedesktop.org; Ben Mesman (Bossers & Cnossen BV)
> Onderwerp: [PATCH] drm/i915: no lvds quirk for hp t5740
> 
> Last year, a patch was made for the "HP t5740e Thin Client" (see
> http://lists.freedesktop.org/archives/dri-devel/2012-May/023245.html).
> This device reports an lvds panel, but does not really have one.
> 
> The predecessor of this device is the "hp t5740", which also does not have an
> lvds panel. This patch will add the same quirk for this device.
> 
> Signed-off-by: Ben Mesman <ben@bnc.nl>
> ---
>  drivers/gpu/drm/i915/intel_lvds.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_lvds.c
> b/drivers/gpu/drm/i915/intel_lvds.c
> index ca2d903..5df079c 100644
> --- a/drivers/gpu/drm/i915/intel_lvds.c
> +++ b/drivers/gpu/drm/i915/intel_lvds.c
> @@ -816,10 +816,10 @@ static const struct dmi_system_id intel_no_lvds[] =
> {
>  	},
>  	{
>  		.callback = intel_no_lvds_dmi_callback,
> -		.ident = "Hewlett-Packard HP t5740e Thin Client",
> +		.ident = "Hewlett-Packard HP t5740",
>  		.matches = {
>  			DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-
> Packard"),
> -			DMI_MATCH(DMI_PRODUCT_NAME, "HP t5740e Thin
> Client"),
> +			DMI_MATCH(DMI_PRODUCT_NAME, " t5740"),
>  		},
>  	},
>  	{
> --
> 1.7.10.4
Daniel Vetter May 30, 2013, 7:53 a.m. UTC | #2
On Thu, May 30, 2013 at 07:32:36AM +0000, Ben Mesman (Bossers & Cnossen BV) wrote:
> Hello,
> 
> Did anyone pick up this patch? Or is there a problem with it?

Oops, slipped through the cracks, my apologies. Picked up for -fixes,
thanks for the patch.
-Daniel

> 
> Thanks,
> Ben Mesman.
> 
> > -----Oorspronkelijk bericht-----
> > Van: Ben Mesman [mailto:ben@bnc.nl]
> > Verzonden: dinsdag 16 april 2013 20:00
> > Aan: Daniel Vetter
> > CC: dri-devel@lists.freedesktop.org; Ben Mesman (Bossers & Cnossen BV)
> > Onderwerp: [PATCH] drm/i915: no lvds quirk for hp t5740
> > 
> > Last year, a patch was made for the "HP t5740e Thin Client" (see
> > http://lists.freedesktop.org/archives/dri-devel/2012-May/023245.html).
> > This device reports an lvds panel, but does not really have one.
> > 
> > The predecessor of this device is the "hp t5740", which also does not have an
> > lvds panel. This patch will add the same quirk for this device.
> > 
> > Signed-off-by: Ben Mesman <ben@bnc.nl>
> > ---
> >  drivers/gpu/drm/i915/intel_lvds.c |    4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/drivers/gpu/drm/i915/intel_lvds.c
> > b/drivers/gpu/drm/i915/intel_lvds.c
> > index ca2d903..5df079c 100644
> > --- a/drivers/gpu/drm/i915/intel_lvds.c
> > +++ b/drivers/gpu/drm/i915/intel_lvds.c
> > @@ -816,10 +816,10 @@ static const struct dmi_system_id intel_no_lvds[] =
> > {
> >  	},
> >  	{
> >  		.callback = intel_no_lvds_dmi_callback,
> > -		.ident = "Hewlett-Packard HP t5740e Thin Client",
> > +		.ident = "Hewlett-Packard HP t5740",
> >  		.matches = {
> >  			DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-
> > Packard"),
> > -			DMI_MATCH(DMI_PRODUCT_NAME, "HP t5740e Thin
> > Client"),
> > +			DMI_MATCH(DMI_PRODUCT_NAME, " t5740"),
> >  		},
> >  	},
> >  	{
> > --
> > 1.7.10.4
>
diff mbox

Patch

diff --git a/drivers/gpu/drm/i915/intel_lvds.c b/drivers/gpu/drm/i915/intel_lvds.c
index ca2d903..5df079c 100644
--- a/drivers/gpu/drm/i915/intel_lvds.c
+++ b/drivers/gpu/drm/i915/intel_lvds.c
@@ -816,10 +816,10 @@  static const struct dmi_system_id intel_no_lvds[] = {
 	},
 	{
 		.callback = intel_no_lvds_dmi_callback,
-		.ident = "Hewlett-Packard HP t5740e Thin Client",
+		.ident = "Hewlett-Packard HP t5740",
 		.matches = {
 			DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),
-			DMI_MATCH(DMI_PRODUCT_NAME, "HP t5740e Thin Client"),
+			DMI_MATCH(DMI_PRODUCT_NAME, " t5740"),
 		},
 	},
 	{