drm/gma500: Add CedarView LVDS blacklist
Subsystems (3)
PATCH 1/1 drm/gma500: Add CedarView LVDS blacklist
Some CedarView VBT-s claim that there is a LVDS panel, while there is none. Specifically this happens on the Thecus N2800 / N5550 NAS models.
This commit adds a LVDS blacklist to deal with this and adds an entry for the Thecus NAS-es.
--- drivers/gpu/drm/gma500/cdv_intel_lvds.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)
drivers/gpu/drm/gma500/cdv_intel_lvds.c +23 -0
@@ -572,6 +572,20 @@ static bool lvds_is_present_in_vbt(struct drm_device *dev,return false; } +static const struct dmi_system_id cdv_intel_lvds_blacklist[] = { + { +/* Thecus N2800 and N5550 family NAS-es */ + .matches = { +DMI_EXACT_MATCH (DMI_SYS_VENDOR ,"Intel Corporation" ), +DMI_EXACT_MATCH (DMI_PRODUCT_NAME ,"Milstead Platform" ), +DMI_EXACT_MATCH (DMI_BOARD_NAME ,"Granite Well" ), +/* BIOS version is CDV_T<version> X64 */ +DMI_MATCH (DMI_BIOS_VERSION ,"CDV_T" ), + }, + }, + {} +}; +/** * cdv_intel_lvds_init - setup LVDS connectors on this device * @dev: drm device
@@ -594,6 +608,15 @@ void cdv_intel_lvds_init(struct drm_device *dev,int pipe;u8 pin; +/* +* Check blacklist for machines with BIOSes that list an LVDS panel +* without actually having one. +*/ +if (dmi_check_system (cdv_intel_lvds_blacklist)) { +dev_info (&dev->pdev->dev,"System is on LVDS blacklist, skipping LVDS panel detection\n" ); +return ; + } + pin =GMBUS_PORT_PANEL ;if (!lvds_is_present_in_vbt (dev, &pin)) {DRM_DEBUG_KMS ("LVDS is not present in VBT\n" );
Signature · 6 lines
2.21.0 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Patrik Jakobsson
maintainerQuoted 6 lines · Hans de Goede
Some CedarView VBT-s claim that there is a LVDS panel, while there is none. Specifically this happens on the Thecus N2800 / N5550 NAS models.
This commit adds a LVDS blacklist to deal with this and adds an entry for the Thecus NAS-es.
Hi Hans,
Sometimes LVDS can be configured in the BIOS on CDV devices. Can you check that it's not just a bad BIOS configuration first?
Thanks
Patrik
Quoted 49 lines
Signed-off-by Hans de Goede <[email protected]>--- drivers/gpu/drm/gma500/cdv_intel_lvds.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)drivers/gpu/drm/gma500/cdv_intel_lvds.c +23
-1@@ -572,6 +572,20 @@ static bool lvds_is_present_in_vbt(struct drm_device *dev,return false; } +static const struct dmi_system_id cdv_intel_lvds_blacklist[] = { + { +/* Thecus N2800 and N5550 family NAS-es */ + .matches = { +DMI_EXACT_MATCH (DMI_SYS_VENDOR ,"Intel Corporation" ), +DMI_EXACT_MATCH (DMI_PRODUCT_NAME ,"Milstead Platform" ), +DMI_EXACT_MATCH (DMI_BOARD_NAME ,"Granite Well" ), +/* BIOS version is CDV_T<version> X64 */ +DMI_MATCH (DMI_BIOS_VERSION ,"CDV_T" ), + }, + }, + {} +}; +/** * cdv_intel_lvds_init - setup LVDS connectors on this device * @dev: drm device @@ -594,6 +608,15 @@ void cdv_intel_lvds_init(struct drm_device *dev,int pipe;u8 pin; +/* +* Check blacklist for machines with BIOSes that list an LVDS panel +* without actually having one. +*/ +if (dmi_check_system (cdv_intel_lvds_blacklist)) { +dev_info (&dev->pdev->dev,"System is on LVDS blacklist, skipping LVDS panel detection\n" ); +return ; + } + pin =GMBUS_PORT_PANEL ;if (!lvds_is_present_in_vbt (dev, &pin)) {DRM_DEBUG_KMS ("LVDS is not present in VBT\n" ); --
Quoted 2 lines
2.21.0
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi,
Quoted 11 lines · Patrik Jakobsson
Quoted 6 lines · Hans de Goede
Some CedarView VBT-s claim that there is a LVDS panel, while there is none. Specifically this happens on the Thecus N2800 / N5550 NAS models.
This commit adds a LVDS blacklist to deal with this and adds an entry for the Thecus NAS-es.
Hi Hans,
Sometimes LVDS can be configured in the BIOS on CDV devices. Can you check that it's not just a bad BIOS configuration first?
I've asked the reporter to test, but even if there is a BIOS option it seems that the BIOS default setting is wrong and we cannot expect every user to go into the BIOS to fix a wrong BIOS setting.
According to this blogpost, which is about the Linux the device ships with:
https://astroweasel.blogspot.com/2016/02/updating-thecus-n5550-nas-to-report.html
The pre-installed grub config includes 'video=LVDS-1:d' on the kernel commandline, so this clearly seems to be a case where the system is just shipping with a broken BIOS or at least with default BIOS settings which is just as bad.
Regards,
Hans
Quoted 35 lines
Quoted 35 lines
Signed-off-by Hans de Goede <[email protected]>--- drivers/gpu/drm/gma500/cdv_intel_lvds.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)drivers/gpu/drm/gma500/cdv_intel_lvds.c +14
-0@@ -572,6 +572,20 @@ static bool lvds_is_present_in_vbt(struct drm_device *dev,return false; } +static const struct dmi_system_id cdv_intel_lvds_blacklist[] = { + { +/* Thecus N2800 and N5550 family NAS-es */ + .matches = { +DMI_EXACT_MATCH (DMI_SYS_VENDOR ,"Intel Corporation" ), +DMI_EXACT_MATCH (DMI_PRODUCT_NAME ,"Milstead Platform" ), +DMI_EXACT_MATCH (DMI_BOARD_NAME ,"Granite Well" ), +/* BIOS version is CDV_T<version> X64 */ +DMI_MATCH (DMI_BIOS_VERSION ,"CDV_T" ), + }, + }, + {} +}; +/** * cdv_intel_lvds_init - setup LVDS connectors on this device * @dev: drm device @@ -594,6 +608,15 @@ void cdv_intel_lvds_init(struct drm_device *dev,int pipe;u8 pin;
Quoted 15 lines
Quoted 13 lines
drivers/gpu/drm/gma500/cdv_intel_lvds.c +9
-1+/* +* Check blacklist for machines with BIOSes that list an LVDS panel +* without actually having one. +*/ +if (dmi_check_system (cdv_intel_lvds_blacklist)) { +dev_info (&dev->pdev->dev,"System is on LVDS blacklist, skipping LVDS panel detection\n" ); +return ; + } + pin =GMBUS_PORT_PANEL ;if (!lvds_is_present_in_vbt (dev, &pin)) {DRM_DEBUG_KMS ("LVDS is not present in VBT\n" ); --Quoted 2 lines
2.21.0
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Patrik Jakobsson
maintainerQuoted 20 lines · Hans de Goede
Hi,
Quoted 11 lines · Patrik Jakobsson
Quoted 6 lines · Hans de Goede
Some CedarView VBT-s claim that there is a LVDS panel, while there is none. Specifically this happens on the Thecus N2800 / N5550 NAS models.
This commit adds a LVDS blacklist to deal with this and adds an entry for the Thecus NAS-es.
Hi Hans,
Sometimes LVDS can be configured in the BIOS on CDV devices. Can you check that it's not just a bad BIOS configuration first?I've asked the reporter to test, but even if there is a BIOS option it seems that the BIOS default setting is wrong and we cannot expect every user to go into the BIOS to fix a wrong BIOS setting.
Quoted 7 lines
According to this blogpost, which is about the Linux the device ships with:
https://astroweasel.blogspot.com/2016/02/updating-thecus-n5550-nas-to-report.htmlThe pre-installed grub config includes 'video=LVDS-1:d' on the kernel commandline, so this clearly seems to be a case where the system is just shipping with a broken BIOS or at least with default BIOS settings which is just as bad.
I agree that we should try to fix a broken default but are you sure this will only affect the n5550? IIUC Milstead / Granite Well is an Intel product / board name and perhaps some of those use LVDS.
Also, if the pre-installed OS solves this on the cmdline then it's only a problem if the user is trying to install a custom OS on the device. I would expect such a user to be able to change bios settings.
I'm not totally against this but not sure about the consequences. Is there perhaps a better dmi string to match against?
Quoted 42 lines
Regards,
Hans
Quoted 35 lines
Quoted 35 lines
Signed-off-by Hans de Goede <[email protected]>--- drivers/gpu/drm/gma500/cdv_intel_lvds.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)drivers/gpu/drm/gma500/cdv_intel_lvds.c +14
-0@@ -572,6 +572,20 @@ static bool lvds_is_present_in_vbt(struct drm_device *dev,return false; } +static const struct dmi_system_id cdv_intel_lvds_blacklist[] = { + { +/* Thecus N2800 and N5550 family NAS-es */ + .matches = { +DMI_EXACT_MATCH (DMI_SYS_VENDOR ,"Intel Corporation" ), +DMI_EXACT_MATCH (DMI_PRODUCT_NAME ,"Milstead Platform" ), +DMI_EXACT_MATCH (DMI_BOARD_NAME ,"Granite Well" ), +/* BIOS version is CDV_T<version> X64 */ +DMI_MATCH (DMI_BIOS_VERSION ,"CDV_T" ), + }, + }, + {} +}; +/** * cdv_intel_lvds_init - setup LVDS connectors on this device * @dev: drm device @@ -594,6 +608,15 @@ void cdv_intel_lvds_init(struct drm_device *dev,int pipe;u8 pin;
Quoted 15 lines
Quoted 7 lines
Quoted 7 lines
drivers/gpu/drm/gma500/cdv_intel_lvds.c +7
-0+/* +* Check blacklist for machines with BIOSes that list an LVDS panel +* without actually having one. +*/ +if (dmi_check_system (cdv_intel_lvds_blacklist)) { +dev_info (&dev->pdev->dev,"System is on LVDS blacklist, skipping LVDS panel detection\n" ); +return ;Quoted 8 lines
Quoted 8 lines
drivers/gpu/drm/gma500/cdv_intel_lvds.c +2
-1+ } + pin =GMBUS_PORT_PANEL ;if (!lvds_is_present_in_vbt (dev, &pin)) {DRM_DEBUG_KMS ("LVDS is not present in VBT\n" ); --2.21.0
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi,
Quoted 24 lines · Patrik Jakobsson
Quoted 23 lines · Hans de Goede
Hi,
Quoted 11 lines · Patrik Jakobsson
Quoted 6 lines · Hans de Goede
Some CedarView VBT-s claim that there is a LVDS panel, while there is none. Specifically this happens on the Thecus N2800 / N5550 NAS models.
This commit adds a LVDS blacklist to deal with this and adds an entry for the Thecus NAS-es.
Hi Hans,
Sometimes LVDS can be configured in the BIOS on CDV devices. Can you check that it's not just a bad BIOS configuration first?I've asked the reporter to test, but even if there is a BIOS option it seems that the BIOS default setting is wrong and we cannot expect every user to go into the BIOS to fix a wrong BIOS setting.
According to this blogpost, which is about the Linux the device ships with:
https://astroweasel.blogspot.com/2016/02/updating-thecus-n5550-nas-to-report.html
Quoted 8 lines
Quoted 4 lines
The pre-installed grub config includes 'video=LVDS-1:d' on the kernel commandline, so this clearly seems to be a case where the system is just shipping with a broken BIOS or at least with default BIOS settings which is just as bad.
I agree that we should try to fix a broken default but are you sure this will only affect the n5550? IIUC Milstead / Granite Well is an Intel product / board name and perhaps some of those use LVDS.
Milstead is the name of Intel's NAS reference design:
https://www.hardwarezone.com.my/tech-news-intel-unveils-milstead-platform-nas-devices
I seriously doubt that any NAS-es have a LVDS (laptop/tablet) LCD panel.
Quoted 6 lines
Also, if the pre-installed OS solves this on the cmdline then it's only a problem if the user is trying to install a custom OS on the device. I would expect such a user to be able to change bios settings.
I'm not totally against this but not sure about the consequences. Is there perhaps a better dmi string to match against?
No there are no better DMI strings to match against I'm afraid.
Regards,
Hans
Quoted 35 lines
Quoted 35 lines
Quoted 35 lines
Quoted 35 lines
Signed-off-by Hans de Goede <[email protected]>--- drivers/gpu/drm/gma500/cdv_intel_lvds.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)drivers/gpu/drm/gma500/cdv_intel_lvds.c +14
-0@@ -572,6 +572,20 @@ static bool lvds_is_present_in_vbt(struct drm_device *dev,return false; } +static const struct dmi_system_id cdv_intel_lvds_blacklist[] = { + { +/* Thecus N2800 and N5550 family NAS-es */ + .matches = { +DMI_EXACT_MATCH (DMI_SYS_VENDOR ,"Intel Corporation" ), +DMI_EXACT_MATCH (DMI_PRODUCT_NAME ,"Milstead Platform" ), +DMI_EXACT_MATCH (DMI_BOARD_NAME ,"Granite Well" ), +/* BIOS version is CDV_T<version> X64 */ +DMI_MATCH (DMI_BIOS_VERSION ,"CDV_T" ), + }, + }, + {} +}; +/** * cdv_intel_lvds_init - setup LVDS connectors on this device * @dev: drm device @@ -594,6 +608,15 @@ void cdv_intel_lvds_init(struct drm_device *dev,int pipe;u8 pin;
Quoted 15 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
drivers/gpu/drm/gma500/cdv_intel_lvds.c +7
-0+/* +* Check blacklist for machines with BIOSes that list an LVDS panel +* without actually having one. +*/ +if (dmi_check_system (cdv_intel_lvds_blacklist)) { +dev_info (&dev->pdev->dev,"System is on LVDS blacklist, skipping LVDS panel detection\n" ); +return ;Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
drivers/gpu/drm/gma500/cdv_intel_lvds.c +2
-1+ } + pin =GMBUS_PORT_PANEL ;if (!lvds_is_present_in_vbt (dev, &pin)) {DRM_DEBUG_KMS ("LVDS is not present in VBT\n" ); --2.21.0
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Hello,
Quoted 42 lines · Hans de Goede
Hi,
Quoted 24 lines · Patrik Jakobsson
Quoted 23 lines · Hans de Goede
Hi,
Quoted 11 lines · Patrik Jakobsson
Quoted 6 lines · Hans de Goede
Some CedarView VBT-s claim that there is a LVDS panel, while there is none. Specifically this happens on the Thecus N2800 / N5550 NAS models.
This commit adds a LVDS blacklist to deal with this and adds an entry for the Thecus NAS-es.
Hi Hans,
Sometimes LVDS can be configured in the BIOS on CDV devices. Can you check that it's not just a bad BIOS configuration first?I've asked the reporter to test, but even if there is a BIOS option it seems that the BIOS default setting is wrong and we cannot expect every user to go into the BIOS to fix a wrong BIOS setting.
According to this blogpost, which is about the Linux the device ships with:
https://astroweasel.blogspot.com/2016/02/updating-thecus-n5550-nas-to-report.htmlQuoted 8 lines
Quoted 4 lines
The pre-installed grub config includes 'video=LVDS-1:d' on the kernel commandline, so this clearly seems to be a case where the system is just shipping with a broken BIOS or at least with default BIOS settings which is just as bad.
I agree that we should try to fix a broken default but are you sure this will only affect the n5550? IIUC Milstead / Granite Well is an Intel product / board name and perhaps some of those use LVDS.
Milstead is the name of Intel's NAS reference design:
https://www.hardwarezone.com.my/tech-news-intel-unveils-milstead-platform-nas-devices
I seriously doubt that any NAS-es have a LVDS (laptop/tablet) LCD panel.
Quoted 8 lines
Quoted 6 lines
Also, if the pre-installed OS solves this on the cmdline then it's only a problem if the user is trying to install a custom OS on the device. I would expect such a user to be able to change bios settings.
I'm not totally against this but not sure about the consequences. Is there perhaps a better dmi string to match against?
No there are no better DMI strings to match against I'm afraid.
I did load default settings in BIOS setup and there's no change in behaviour. LVDS gets detected as connected:
$ cat /sys/class/drm/card0-LVDS-1/status connected
Only VGA output is physically connected at the moment.
Regards,
Dominik
Signature · 8 lines
Fedora https://getfedora.org | RPM Fusion http://rpmfusion.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
-- from "Collected Sayings of Muad'Dib" by the Princess Irulan
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-develHi,
Quoted 52 lines · Dominik 'Rathann' Mierzejewski
Hello,
Quoted 49 lines · Hans de Goede
Hi,
Quoted 24 lines · Patrik Jakobsson
Quoted 23 lines · Hans de Goede
Hi,
Quoted 11 lines · Patrik Jakobsson
Quoted 6 lines · Hans de Goede
Some CedarView VBT-s claim that there is a LVDS panel, while there is none. Specifically this happens on the Thecus N2800 / N5550 NAS models.
This commit adds a LVDS blacklist to deal with this and adds an entry for the Thecus NAS-es.
Hi Hans,
Sometimes LVDS can be configured in the BIOS on CDV devices. Can you check that it's not just a bad BIOS configuration first?I've asked the reporter to test, but even if there is a BIOS option it seems that the BIOS default setting is wrong and we cannot expect every user to go into the BIOS to fix a wrong BIOS setting.
According to this blogpost, which is about the Linux the device ships with:
https://astroweasel.blogspot.com/2016/02/updating-thecus-n5550-nas-to-report.htmlQuoted 8 lines
Quoted 4 lines
The pre-installed grub config includes 'video=LVDS-1:d' on the kernel commandline, so this clearly seems to be a case where the system is just shipping with a broken BIOS or at least with default BIOS settings which is just as bad.
I agree that we should try to fix a broken default but are you sure this will only affect the n5550? IIUC Milstead / Granite Well is an Intel product / board name and perhaps some of those use LVDS.
Milstead is the name of Intel's NAS reference design:
https://www.hardwarezone.com.my/tech-news-intel-unveils-milstead-platform-nas-devices
I seriously doubt that any NAS-es have a LVDS (laptop/tablet) LCD panel.
Quoted 6 lines
Also, if the pre-installed OS solves this on the cmdline then it's only a problem if the user is trying to install a custom OS on the device. I would expect such a user to be able to change bios settings.
I'm not totally against this but not sure about the consequences. Is there perhaps a better dmi string to match against?
Quoted 8 lines
Quoted 1 line
No there are no better DMI strings to match against I'm afraid.
I did load default settings in BIOS setup and there's no change in behaviour. LVDS gets detected as connected:
$ cat /sys/class/drm/card0-LVDS-1/status connectedOnly VGA output is physically connected at the moment.
To be clear what Dominik means here is that he has a VGA monitor connected. There is no LVDS panel in this device at all.
Regards,
Hans
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Patrik Jakobsson
maintainerQuoted 63 lines · Hans de Goede
Hi,
Quoted 59 lines · Dominik 'Rathann' Mierzejewski
Hello,
Quoted 42 lines · Hans de Goede
Hi,
Quoted 24 lines · Patrik Jakobsson
Quoted 23 lines · Hans de Goede
Hi,
Quoted 11 lines · Patrik Jakobsson
Quoted 6 lines · Hans de Goede
Some CedarView VBT-s claim that there is a LVDS panel, while there is none. Specifically this happens on the Thecus N2800 / N5550 NAS models.
This commit adds a LVDS blacklist to deal with this and adds an entry for the Thecus NAS-es.
Hi Hans,
Sometimes LVDS can be configured in the BIOS on CDV devices. Can you check that it's not just a bad BIOS configuration first?I've asked the reporter to test, but even if there is a BIOS option it seems that the BIOS default setting is wrong and we cannot expect every user to go into the BIOS to fix a wrong BIOS setting.
According to this blogpost, which is about the Linux the device ships with:
https://astroweasel.blogspot.com/2016/02/updating-thecus-n5550-nas-to-report.htmlQuoted 8 lines
Quoted 4 lines
The pre-installed grub config includes 'video=LVDS-1:d' on the kernel commandline, so this clearly seems to be a case where the system is just shipping with a broken BIOS or at least with default BIOS settings which is just as bad.
I agree that we should try to fix a broken default but are you sure this will only affect the n5550? IIUC Milstead / Granite Well is an Intel product / board name and perhaps some of those use LVDS.
Milstead is the name of Intel's NAS reference design:
https://www.hardwarezone.com.my/tech-news-intel-unveils-milstead-platform-nas-devices
I seriously doubt that any NAS-es have a LVDS (laptop/tablet) LCD panel.
Quoted 8 lines
Quoted 6 lines
Also, if the pre-installed OS solves this on the cmdline then it's only a problem if the user is trying to install a custom OS on the device. I would expect such a user to be able to change bios settings.
I'm not totally against this but not sure about the consequences. Is there perhaps a better dmi string to match against?
No there are no better DMI strings to match against I'm afraid.
I did load default settings in BIOS setup and there's no change in behaviour. LVDS gets detected as connected:
$ cat /sys/class/drm/card0-LVDS-1/status connected
Quoted 4 lines
Quoted 1 line
Only VGA output is physically connected at the moment.
To be clear what Dominik means here is that he has a VGA monitor connected. There is no LVDS panel in this device at all.
Thanks for testing. I dusted off my DN2800MT and tried turning LVDS on/off in the BIOS. With LVDS disabled gma500 reports it as connected. When LVDS is enabled in bios I instead get a connected eDP connector. I'm starting to think that broken VBT parsing might be the actual problem.
Quoted 5 lines
Regards,
Hans
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi,
Quoted 66 lines · Patrik Jakobsson
Quoted 65 lines · Hans de Goede
Hi,
Quoted 60 lines · Dominik 'Rathann' Mierzejewski
Hello,
Quoted 42 lines · Hans de Goede
Hi,
Quoted 24 lines · Patrik Jakobsson
Quoted 23 lines · Hans de Goede
Hi,
Quoted 11 lines · Patrik Jakobsson
Quoted 6 lines · Hans de Goede
Some CedarView VBT-s claim that there is a LVDS panel, while there is none. Specifically this happens on the Thecus N2800 / N5550 NAS models.
This commit adds a LVDS blacklist to deal with this and adds an entry for the Thecus NAS-es.
Hi Hans,
Sometimes LVDS can be configured in the BIOS on CDV devices. Can you check that it's not just a bad BIOS configuration first?I've asked the reporter to test, but even if there is a BIOS option it seems that the BIOS default setting is wrong and we cannot expect every user to go into the BIOS to fix a wrong BIOS setting.
According to this blogpost, which is about the Linux the device ships with:
https://astroweasel.blogspot.com/2016/02/updating-thecus-n5550-nas-to-report.htmlQuoted 8 lines
Quoted 4 lines
The pre-installed grub config includes 'video=LVDS-1:d' on the kernel commandline, so this clearly seems to be a case where the system is just shipping with a broken BIOS or at least with default BIOS settings which is just as bad.
I agree that we should try to fix a broken default but are you sure this will only affect the n5550? IIUC Milstead / Granite Well is an Intel product / board name and perhaps some of those use LVDS.
Milstead is the name of Intel's NAS reference design:
https://www.hardwarezone.com.my/tech-news-intel-unveils-milstead-platform-nas-devices
I seriously doubt that any NAS-es have a LVDS (laptop/tablet) LCD panel.
Quoted 8 lines
Quoted 6 lines
Also, if the pre-installed OS solves this on the cmdline then it's only a problem if the user is trying to install a custom OS on the device. I would expect such a user to be able to change bios settings.
I'm not totally against this but not sure about the consequences. Is there perhaps a better dmi string to match against?
No there are no better DMI strings to match against I'm afraid.
I did load default settings in BIOS setup and there's no change in behaviour. LVDS gets detected as connected:
$ cat /sys/class/drm/card0-LVDS-1/status connectedOnly VGA output is physically connected at the moment.
Quoted 8 lines
Quoted 2 lines
To be clear what Dominik means here is that he has a VGA monitor connected. There is no LVDS panel in this device at all.
Thanks for testing. I dusted off my DN2800MT and tried turning LVDS on/off in the BIOS. With LVDS disabled gma500 reports it as connected. When LVDS is enabled in bios I instead get a connected eDP connector. I'm starting to think that broken VBT parsing might be the actual problem.
Maybe, but I assume there are CedarView based laptops with LVDS panels which works, so I suspect this might be more of a bug in your BIOS.
So what is the next step in debugging this?
Regards,
Hans
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 5 lines · Hans de Goede
Quoted 4 lines · Patrik Jakobsson
Quoted 3 lines · Hans de Goede
Quoted 2 lines · Dominik 'Rathann' Mierzejewski
Quoted 1 line · Hans de Goede
On 09-04-19 14:05, Patrik Jakobsson wrote:
[...]
Quoted 21 lines
Quoted 12 lines
Quoted 12 lines
Quoted 11 lines
Quoted 4 lines
Quoted 2 lines
I'm not totally against this but not sure about the consequences. Is there perhaps a better dmi string to match against?
No there are no better DMI strings to match against I'm afraid.
I did load default settings in BIOS setup and there's no change in behaviour. LVDS gets detected as connected:
$ cat /sys/class/drm/card0-LVDS-1/status connectedOnly VGA output is physically connected at the moment.
Quoted 8 lines
Quoted 2 lines
To be clear what Dominik means here is that he has a VGA monitor connected. There is no LVDS panel in this device at all.
Thanks for testing. I dusted off my DN2800MT and tried turning LVDS on/off in the BIOS. With LVDS disabled gma500 reports it as connected. When LVDS is enabled in bios I instead get a connected eDP connector. I'm starting to think that broken VBT parsing might be the actual problem.
Quoted 4 lines
Maybe, but I assume there are CedarView based laptops with LVDS panels which works, so I suspect this might be more of a bug in your BIOS.
So what is the next step in debugging this?
To add a small twist, I got an updated BIOS from the vendor to fix another issue (https://bugzilla.kernel.org/show_bug.cgi?id=199117)
and the DMI string has changed to: "CDV W Series 05", so Hans' patch no longer matches my machine.
Regards,
Dominik
Signature · 8 lines
Fedora https://getfedora.org | RPM Fusion http://rpmfusion.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
-- from "Collected Sayings of Muad'Dib" by the Princess Irulan
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-develPatrik Jakobsson
maintainerQuoted 32 lines · Dominik 'Rathann' Mierzejewski
Quoted 5 lines · Hans de Goede
Quoted 4 lines · Patrik Jakobsson
Quoted 3 lines · Hans de Goede
Quoted 2 lines · Dominik 'Rathann' Mierzejewski
Quoted 1 line · Hans de Goede
On 09-04-19 14:05, Patrik Jakobsson wrote:
[...]
Quoted 24 lines
Quoted 12 lines
Quoted 12 lines
Quoted 11 lines
Quoted 4 lines
Quoted 2 lines
I'm not totally against this but not sure about the consequences. Is there perhaps a better dmi string to match against?
No there are no better DMI strings to match against I'm afraid.
I did load default settings in BIOS setup and there's no change in behaviour. LVDS gets detected as connected:
$ cat /sys/class/drm/card0-LVDS-1/status connectedOnly VGA output is physically connected at the moment.
Quoted 8 lines
Quoted 2 lines
To be clear what Dominik means here is that he has a VGA monitor connected. There is no LVDS panel in this device at all.
Thanks for testing. I dusted off my DN2800MT and tried turning LVDS on/off in the BIOS. With LVDS disabled gma500 reports it as connected. When LVDS is enabled in bios I instead get a connected eDP connector. I'm starting to think that broken VBT parsing might be the actual problem.
Maybe, but I assume there are CedarView based laptops with LVDS panels which works, so I suspect this might be more of a bug in your BIOS.
Quoted 6 lines
Quoted 1 line
So what is the next step in debugging this?
To add a small twist, I got an updated BIOS from the vendor to fix another issue (https://bugzilla.kernel.org/show_bug.cgi?id=199117)
and the DMI string has changed to: "CDV W Series 05", so Hans' patch no longer matches my machine.
Hi Dominik,
Do you have any option to enable/disable LVDS in your BIOS. The BIOS default might not be to disable LVDS since they apparently solved the issue on the command line anyway. If there is an option to turn it off but you still get the same problem, then it is possible that detection of "LVDS disabled" in the driver might be bad.
Thanks
Patrik
Quoted 8 lines
Regards,
Dominik
--
Fedora https://getfedora.org | RPM Fusion http://rpmfusion.org
There should be a science of discontent. People need hard times and oppression to develop psychic muscles.
-- from "Collected Sayings of Muad'Dib" by the Princess Irulan
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 41 lines · Patrik Jakobsson
Quoted 32 lines · Dominik 'Rathann' Mierzejewski
Quoted 5 lines · Hans de Goede
Quoted 4 lines · Patrik Jakobsson
Quoted 3 lines · Hans de Goede
Quoted 2 lines · Dominik 'Rathann' Mierzejewski
Quoted 1 line · Hans de Goede
On 09-04-19 14:05, Patrik Jakobsson wrote:
[...]
Quoted 24 lines
Quoted 12 lines
Quoted 12 lines
Quoted 11 lines
Quoted 4 lines
Quoted 2 lines
I'm not totally against this but not sure about the consequences. Is there perhaps a better dmi string to match against?
No there are no better DMI strings to match against I'm afraid.
I did load default settings in BIOS setup and there's no change in behaviour. LVDS gets detected as connected:
$ cat /sys/class/drm/card0-LVDS-1/status connectedOnly VGA output is physically connected at the moment.
Quoted 8 lines
Quoted 2 lines
To be clear what Dominik means here is that he has a VGA monitor connected. There is no LVDS panel in this device at all.
Thanks for testing. I dusted off my DN2800MT and tried turning LVDS on/off in the BIOS. With LVDS disabled gma500 reports it as connected. When LVDS is enabled in bios I instead get a connected eDP connector. I'm starting to think that broken VBT parsing might be the actual problem.
Maybe, but I assume there are CedarView based laptops with LVDS panels which works, so I suspect this might be more of a bug in your BIOS.
Quoted 6 lines
Quoted 1 line
So what is the next step in debugging this?
To add a small twist, I got an updated BIOS from the vendor to fix another issue (https://bugzilla.kernel.org/show_bug.cgi?id=199117)
and the DMI string has changed to: "CDV W Series 05", so Hans' patch no longer matches my machine.
Quoted 7 lines
Hi Dominik,
Do you have any option to enable/disable LVDS in your BIOS. The BIOS default might not be to disable LVDS since they apparently solved the issue on the command line anyway. If there is an option to turn it off but you still get the same problem, then it is possible that detection of "LVDS disabled" in the driver might be bad.
No, there's no option to enable/disable LVDS. The machine is a NAS box and doesn't have an LVDS physically. You can see the motherboard e.g.
here: https://youtu.be/ZYNQvZNGLsE?t=855 .
Regards,
Dominik
Signature · 8 lines
Fedora https://getfedora.org | RPM Fusion http://rpmfusion.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
-- from "Collected Sayings of Muad'Dib" by the Princess Irulan
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-develPatrik Jakobsson
maintainerQuoted 51 lines · Dominik 'Rathann' Mierzejewski
Quoted 41 lines · Patrik Jakobsson
Quoted 32 lines · Dominik 'Rathann' Mierzejewski
Quoted 5 lines · Hans de Goede
Quoted 4 lines · Patrik Jakobsson
Quoted 3 lines · Hans de Goede
Quoted 2 lines · Dominik 'Rathann' Mierzejewski
Quoted 1 line · Hans de Goede
On 09-04-19 14:05, Patrik Jakobsson wrote:
[...]
Quoted 24 lines
Quoted 12 lines
Quoted 12 lines
Quoted 11 lines
Quoted 4 lines
Quoted 2 lines
I'm not totally against this but not sure about the consequences. Is there perhaps a better dmi string to match against?
No there are no better DMI strings to match against I'm afraid.
I did load default settings in BIOS setup and there's no change in behaviour. LVDS gets detected as connected:
$ cat /sys/class/drm/card0-LVDS-1/status connectedOnly VGA output is physically connected at the moment.
Quoted 8 lines
Quoted 2 lines
To be clear what Dominik means here is that he has a VGA monitor connected. There is no LVDS panel in this device at all.
Thanks for testing. I dusted off my DN2800MT and tried turning LVDS on/off in the BIOS. With LVDS disabled gma500 reports it as connected. When LVDS is enabled in bios I instead get a connected eDP connector. I'm starting to think that broken VBT parsing might be the actual problem.
Maybe, but I assume there are CedarView based laptops with LVDS panels which works, so I suspect this might be more of a bug in your BIOS.
Quoted 6 lines
Quoted 1 line
So what is the next step in debugging this?
To add a small twist, I got an updated BIOS from the vendor to fix another issue (https://bugzilla.kernel.org/show_bug.cgi?id=199117)
and the DMI string has changed to: "CDV W Series 05", so Hans' patch no longer matches my machine.Quoted 7 lines
Hi Dominik,
Do you have any option to enable/disable LVDS in your BIOS. The BIOS default might not be to disable LVDS since they apparently solved the issue on the command line anyway. If there is an option to turn it off but you still get the same problem, then it is possible that detection of "LVDS disabled" in the driver might be bad.
Quoted 3 lines
No, there's no option to enable/disable LVDS. The machine is a NAS box and doesn't have an LVDS physically. You can see the motherboard e.g.
here: https://youtu.be/ZYNQvZNGLsE?t=855 .
I've posted a patch: https://patchwork.freedesktop.org/patch/299821/
Previously we only checked for a child device and ignored the lvds config bits. Hopefully this fixes your problem.
-Patrik
Quoted 8 lines
Regards,
Dominik
--
Fedora https://getfedora.org | RPM Fusion http://rpmfusion.org
There should be a science of discontent. People need hard times and oppression to develop psychic muscles.
-- from "Collected Sayings of Muad'Dib" by the Princess Irulan
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi,
Quoted 53 lines · Patrik Jakobsson
Quoted 51 lines · Dominik 'Rathann' Mierzejewski
Quoted 48 lines · Patrik Jakobsson
Quoted 32 lines · Dominik 'Rathann' Mierzejewski
Quoted 5 lines · Hans de Goede
Quoted 4 lines · Patrik Jakobsson
Quoted 3 lines · Hans de Goede
Quoted 2 lines · Dominik 'Rathann' Mierzejewski
Quoted 1 line · Hans de Goede
On 09-04-19 14:05, Patrik Jakobsson wrote:
[...]
Quoted 24 lines
Quoted 12 lines
Quoted 12 lines
Quoted 11 lines
Quoted 4 lines
Quoted 2 lines
I'm not totally against this but not sure about the consequences. Is there perhaps a better dmi string to match against?
No there are no better DMI strings to match against I'm afraid.
I did load default settings in BIOS setup and there's no change in behaviour. LVDS gets detected as connected:
$ cat /sys/class/drm/card0-LVDS-1/status connectedOnly VGA output is physically connected at the moment.
Quoted 8 lines
Quoted 2 lines
To be clear what Dominik means here is that he has a VGA monitor connected. There is no LVDS panel in this device at all.
Thanks for testing. I dusted off my DN2800MT and tried turning LVDS on/off in the BIOS. With LVDS disabled gma500 reports it as connected. When LVDS is enabled in bios I instead get a connected eDP connector. I'm starting to think that broken VBT parsing might be the actual problem.
Maybe, but I assume there are CedarView based laptops with LVDS panels which works, so I suspect this might be more of a bug in your BIOS.
Quoted 6 lines
Quoted 1 line
So what is the next step in debugging this?
To add a small twist, I got an updated BIOS from the vendor to fix another issue (https://bugzilla.kernel.org/show_bug.cgi?id=199117)
and the DMI string has changed to: "CDV W Series 05", so Hans' patch no longer matches my machine.Hi Dominik,
Do you have any option to enable/disable LVDS in your BIOS. The BIOS default might not be to disable LVDS since they apparently solved the issue on the command line anyway. If there is an option to turn it off but you still get the same problem, then it is possible that detection of "LVDS disabled" in the driver might be bad.
Quoted 8 lines
Quoted 3 lines
No, there's no option to enable/disable LVDS. The machine is a NAS box and doesn't have an LVDS physically. You can see the motherboard e.g.
here: https://youtu.be/ZYNQvZNGLsE?t=855 .I've posted a patch: https://patchwork.freedesktop.org/patch/299821/
Previously we only checked for a child device and ignored the lvds config bits. Hopefully this fixes your problem.
Dominik,
As also discussed in bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=1665766#c23
I've started a Fedora kernel test-build with Patrik's patch added, please test this:
https://koji.fedoraproject.org/koji/taskinfo?taskID=34215831
Regards,
Hans
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Patrik Jakobsson
maintainerQuoted 73 lines · Hans de Goede
Hi,
Quoted 69 lines · Patrik Jakobsson
Quoted 67 lines · Hans de Goede
Hi,
Quoted 52 lines · Dominik 'Rathann' Mierzejewski
Hello,
Quoted 49 lines · Hans de Goede
Hi,
Quoted 24 lines · Patrik Jakobsson
Quoted 23 lines · Hans de Goede
Hi,
Quoted 11 lines · Patrik Jakobsson
Quoted 6 lines · Hans de Goede
Some CedarView VBT-s claim that there is a LVDS panel, while there is none. Specifically this happens on the Thecus N2800 / N5550 NAS models.
This commit adds a LVDS blacklist to deal with this and adds an entry for the Thecus NAS-es.
Hi Hans,
Sometimes LVDS can be configured in the BIOS on CDV devices. Can you check that it's not just a bad BIOS configuration first?I've asked the reporter to test, but even if there is a BIOS option it seems that the BIOS default setting is wrong and we cannot expect every user to go into the BIOS to fix a wrong BIOS setting.
According to this blogpost, which is about the Linux the device ships with:
https://astroweasel.blogspot.com/2016/02/updating-thecus-n5550-nas-to-report.htmlQuoted 8 lines
Quoted 4 lines
The pre-installed grub config includes 'video=LVDS-1:d' on the kernel commandline, so this clearly seems to be a case where the system is just shipping with a broken BIOS or at least with default BIOS settings which is just as bad.
I agree that we should try to fix a broken default but are you sure this will only affect the n5550? IIUC Milstead / Granite Well is an Intel product / board name and perhaps some of those use LVDS.
Milstead is the name of Intel's NAS reference design:
https://www.hardwarezone.com.my/tech-news-intel-unveils-milstead-platform-nas-devices
I seriously doubt that any NAS-es have a LVDS (laptop/tablet) LCD panel.
Quoted 6 lines
Also, if the pre-installed OS solves this on the cmdline then it's only a problem if the user is trying to install a custom OS on the device. I would expect such a user to be able to change bios settings.
I'm not totally against this but not sure about the consequences. Is there perhaps a better dmi string to match against?
Quoted 8 lines
Quoted 1 line
No there are no better DMI strings to match against I'm afraid.
I did load default settings in BIOS setup and there's no change in behaviour. LVDS gets detected as connected:
$ cat /sys/class/drm/card0-LVDS-1/status connectedOnly VGA output is physically connected at the moment.
To be clear what Dominik means here is that he has a VGA monitor connected. There is no LVDS panel in this device at all.
Quoted 8 lines
Quoted 5 lines
Thanks for testing. I dusted off my DN2800MT and tried turning LVDS on/off in the BIOS. With LVDS disabled gma500 reports it as connected. When LVDS is enabled in bios I instead get a connected eDP connector. I'm starting to think that broken VBT parsing might be the actual problem.
Maybe, but I assume there are CedarView based laptops with LVDS panels which works, so I suspect this might be more of a bug in your BIOS.
I was thinking of the case where LVDS is disabled. Things work fine when there actually is a panel present.
Quoted 2 lines
So what is the next step in debugging this?
I'll give Villes suggestion a try.
Quoted 5 lines
Regards,
Hans
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 66 lines · Patrik Jakobsson
Quoted 65 lines · Hans de Goede
Hi,
Quoted 60 lines · Dominik 'Rathann' Mierzejewski
Hello,
Quoted 42 lines · Hans de Goede
Hi,
Quoted 24 lines · Patrik Jakobsson
Quoted 23 lines · Hans de Goede
Hi,
Quoted 11 lines · Patrik Jakobsson
Quoted 6 lines · Hans de Goede
Some CedarView VBT-s claim that there is a LVDS panel, while there is none. Specifically this happens on the Thecus N2800 / N5550 NAS models.
This commit adds a LVDS blacklist to deal with this and adds an entry for the Thecus NAS-es.
Hi Hans,
Sometimes LVDS can be configured in the BIOS on CDV devices. Can you check that it's not just a bad BIOS configuration first?I've asked the reporter to test, but even if there is a BIOS option it seems that the BIOS default setting is wrong and we cannot expect every user to go into the BIOS to fix a wrong BIOS setting.
According to this blogpost, which is about the Linux the device ships with:
https://astroweasel.blogspot.com/2016/02/updating-thecus-n5550-nas-to-report.htmlQuoted 8 lines
Quoted 4 lines
The pre-installed grub config includes 'video=LVDS-1:d' on the kernel commandline, so this clearly seems to be a case where the system is just shipping with a broken BIOS or at least with default BIOS settings which is just as bad.
I agree that we should try to fix a broken default but are you sure this will only affect the n5550? IIUC Milstead / Granite Well is an Intel product / board name and perhaps some of those use LVDS.
Milstead is the name of Intel's NAS reference design:
https://www.hardwarezone.com.my/tech-news-intel-unveils-milstead-platform-nas-devices
I seriously doubt that any NAS-es have a LVDS (laptop/tablet) LCD panel.
Quoted 8 lines
Quoted 6 lines
Also, if the pre-installed OS solves this on the cmdline then it's only a problem if the user is trying to install a custom OS on the device. I would expect such a user to be able to change bios settings.
I'm not totally against this but not sure about the consequences. Is there perhaps a better dmi string to match against?
No there are no better DMI strings to match against I'm afraid.
I did load default settings in BIOS setup and there's no change in behaviour. LVDS gets detected as connected:
$ cat /sys/class/drm/card0-LVDS-1/status connectedOnly VGA output is physically connected at the moment.
Quoted 8 lines
Quoted 2 lines
To be clear what Dominik means here is that he has a VGA monitor connected. There is no LVDS panel in this device at all.
Thanks for testing. I dusted off my DN2800MT and tried turning LVDS on/off in the BIOS. With LVDS disabled gma500 reports it as connected. When LVDS is enabled in bios I instead get a connected eDP connector. I'm starting to think that broken VBT parsing might be the actual problem.
Maybe try something like what I did in ca3b3fa34447 ("drm/i915: Consult VBT "LVDS config" bits to determine whether internal LVDS is present") ?
Not that I know for sure that it actually works. So far we've had no reports of the WARN I added. So either no one has tested a recent kernel with any machine on the current DMI list, or my entire idea of trusting the LVDS config bits is nonsense.
Signature · 6 lines
Ville Syrjälä Intel _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Patrik Jakobsson
maintainerQuoted 77 lines · Ville Syrjälä
Quoted 66 lines · Patrik Jakobsson
Quoted 65 lines · Hans de Goede
Hi,
Quoted 60 lines · Dominik 'Rathann' Mierzejewski
Hello,
Quoted 42 lines · Hans de Goede
Hi,
Quoted 24 lines · Patrik Jakobsson
Quoted 23 lines · Hans de Goede
Hi,
Quoted 11 lines · Patrik Jakobsson
Quoted 6 lines · Hans de Goede
Some CedarView VBT-s claim that there is a LVDS panel, while there is none. Specifically this happens on the Thecus N2800 / N5550 NAS models.
This commit adds a LVDS blacklist to deal with this and adds an entry for the Thecus NAS-es.
Hi Hans,
Sometimes LVDS can be configured in the BIOS on CDV devices. Can you check that it's not just a bad BIOS configuration first?I've asked the reporter to test, but even if there is a BIOS option it seems that the BIOS default setting is wrong and we cannot expect every user to go into the BIOS to fix a wrong BIOS setting.
According to this blogpost, which is about the Linux the device ships with:
https://astroweasel.blogspot.com/2016/02/updating-thecus-n5550-nas-to-report.htmlQuoted 8 lines
Quoted 4 lines
The pre-installed grub config includes 'video=LVDS-1:d' on the kernel commandline, so this clearly seems to be a case where the system is just shipping with a broken BIOS or at least with default BIOS settings which is just as bad.
I agree that we should try to fix a broken default but are you sure this will only affect the n5550? IIUC Milstead / Granite Well is an Intel product / board name and perhaps some of those use LVDS.
Milstead is the name of Intel's NAS reference design:
https://www.hardwarezone.com.my/tech-news-intel-unveils-milstead-platform-nas-devices
I seriously doubt that any NAS-es have a LVDS (laptop/tablet) LCD panel.
Quoted 8 lines
Quoted 6 lines
Also, if the pre-installed OS solves this on the cmdline then it's only a problem if the user is trying to install a custom OS on the device. I would expect such a user to be able to change bios settings.
I'm not totally against this but not sure about the consequences. Is there perhaps a better dmi string to match against?
No there are no better DMI strings to match against I'm afraid.
I did load default settings in BIOS setup and there's no change in behaviour. LVDS gets detected as connected:
$ cat /sys/class/drm/card0-LVDS-1/status connectedOnly VGA output is physically connected at the moment.
Quoted 8 lines
Quoted 2 lines
To be clear what Dominik means here is that he has a VGA monitor connected. There is no LVDS panel in this device at all.
Thanks for testing. I dusted off my DN2800MT and tried turning LVDS on/off in the BIOS. With LVDS disabled gma500 reports it as connected. When LVDS is enabled in bios I instead get a connected eDP connector. I'm starting to think that broken VBT parsing might be the actual problem.
Quoted 7 lines
Maybe try something like what I did in
ca3b3fa34447("drm/i915: Consult VBT "LVDS config" bits to determine whether internal LVDS is present") ?Not that I know for sure that it actually works. So far we've had no reports of the WARN I added. So either no one has tested a recent kernel with any machine on the current DMI list, or my entire idea of trusting the LVDS config bits is nonsense.
Thanks, I'll give it a try.
Quoted 4 lines
--
Ville Syrjälä
Intel
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel