[PATCH] Ignore LVDS on hp t5745 and hp st5747 thin client

2012-02-09 Thread Marc Gariepy
Add a no_lvds quirk for the HP t5745 and HP st5747 thin clients

dmidecode for those thin clients are attached in thoses bugs:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/911916
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/911920


Signed-off-by: Marc Gariepy 
---
Hello,

this patch was previously posted on dri-devel and this is now
reformated.

 drivers/gpu/drm/i915/intel_lvds.c |   16 
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_lvds.c 
b/drivers/gpu/drm/i915/intel_lvds.c
index 798f6e1..069f9ba 100644
--- a/drivers/gpu/drm/i915/intel_lvds.c
+++ b/drivers/gpu/drm/i915/intel_lvds.c
@@ -731,6 +731,22 @@ static const struct dmi_system_id intel_no_lvds[] = {
DMI_MATCH(DMI_BOARD_NAME, "AT5NM10T-I"),
},
},
+   {
+   .callback = intel_no_lvds_dmi_callback,
+   .ident = "Hewlett-Packard t5745",
+   .matches = {
+   DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),
+   DMI_MATCH(DMI_BOARD_NAME, "hp t5745"),
+   },
+   },
+   {
+   .callback = intel_no_lvds_dmi_callback,
+   .ident = "Hewlett-Packard st5747",
+   .matches = {
+   DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),
+   DMI_MATCH(DMI_BOARD_NAME, "hp st5747"),
+   },
+   },
 
{ } /* terminating entry */
 };
-- 
1.7.5.4

___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[PATCH] fixing dmi match for hp t5745 and hp st5747 thin client

2012-05-01 Thread Marc Gariepy
Match the correct information which is DMI_PRODUCT_NAME instead of 
DMI_BOARD_NAME
See dmidecode information on launchpad for both thin client:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/911920
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/911916

Thanks

Signed-off-by: Marc Gariepy 
---
 drivers/gpu/drm/i915/intel_lvds.c |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_lvds.c 
b/drivers/gpu/drm/i915/intel_lvds.c
index 30e2c82..9c71183 100644
--- a/drivers/gpu/drm/i915/intel_lvds.c
+++ b/drivers/gpu/drm/i915/intel_lvds.c
@@ -750,7 +750,7 @@ static const struct dmi_system_id intel_no_lvds[] = {
.ident = "Hewlett-Packard t5745",
.matches = {
DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),
-   DMI_MATCH(DMI_BOARD_NAME, "hp t5745"),
+   DMI_MATCH(DMI_PRODUCT_NAME, "hp t5745"),
},
},
{
@@ -758,7 +758,7 @@ static const struct dmi_system_id intel_no_lvds[] = {
.ident = "Hewlett-Packard st5747",
.matches = {
DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),
-   DMI_MATCH(DMI_BOARD_NAME, "hp st5747"),
+   DMI_MATCH(DMI_PRODUCT_NAME, "hp st5747"),
},
},
{
-- 
1.7.5.4

___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[PATCH] Ignore LVDS on hp t5745 and hp st5747 thin client

2012-02-09 Thread Marc Gariepy
Add a no_lvds quirk for the HP t5745 and HP st5747 thin clients

dmidecode for those thin clients are attached in thoses bugs:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/911916
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/911920


Signed-off-by: Marc Gariepy 
---
Hello,

this patch was previously posted on dri-devel and this is now
reformated.

 drivers/gpu/drm/i915/intel_lvds.c |   16 
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_lvds.c 
b/drivers/gpu/drm/i915/intel_lvds.c
index 798f6e1..069f9ba 100644
--- a/drivers/gpu/drm/i915/intel_lvds.c
+++ b/drivers/gpu/drm/i915/intel_lvds.c
@@ -731,6 +731,22 @@ static const struct dmi_system_id intel_no_lvds[] = {
DMI_MATCH(DMI_BOARD_NAME, "AT5NM10T-I"),
},
},
+   {
+   .callback = intel_no_lvds_dmi_callback,
+   .ident = "Hewlett-Packard t5745",
+   .matches = {
+   DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),
+   DMI_MATCH(DMI_BOARD_NAME, "hp t5745"),
+   },
+   },
+   {
+   .callback = intel_no_lvds_dmi_callback,
+   .ident = "Hewlett-Packard st5747",
+   .matches = {
+   DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),
+   DMI_MATCH(DMI_BOARD_NAME, "hp st5747"),
+   },
+   },

{ } /* terminating entry */
 };
-- 
1.7.5.4



[PATCH] fixing dmi match for hp t5745 and hp st5747 thin client

2012-05-01 Thread Marc Gariepy
Match the correct information which is DMI_PRODUCT_NAME instead of 
DMI_BOARD_NAME
See dmidecode information on launchpad for both thin client:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/911920
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/911916

Thanks

Signed-off-by: Marc Gariepy 
---
 drivers/gpu/drm/i915/intel_lvds.c |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_lvds.c 
b/drivers/gpu/drm/i915/intel_lvds.c
index 30e2c82..9c71183 100644
--- a/drivers/gpu/drm/i915/intel_lvds.c
+++ b/drivers/gpu/drm/i915/intel_lvds.c
@@ -750,7 +750,7 @@ static const struct dmi_system_id intel_no_lvds[] = {
.ident = "Hewlett-Packard t5745",
.matches = {
DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),
-   DMI_MATCH(DMI_BOARD_NAME, "hp t5745"),
+   DMI_MATCH(DMI_PRODUCT_NAME, "hp t5745"),
},
},
{
@@ -758,7 +758,7 @@ static const struct dmi_system_id intel_no_lvds[] = {
.ident = "Hewlett-Packard st5747",
.matches = {
DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),
-   DMI_MATCH(DMI_BOARD_NAME, "hp st5747"),
+   DMI_MATCH(DMI_PRODUCT_NAME, "hp st5747"),
},
},
{
-- 
1.7.5.4