Summary: | [DSI BYT] Panel detection fail | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Pavel <b7086163> | ||||||||||
Component: | DRM/Intel | Assignee: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||||||
Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||||||
Severity: | major | ||||||||||||
Priority: | medium | CC: | intel-gfx-bugs, jan.brummer, parker.l.reed | ||||||||||
Version: | DRI git | ||||||||||||
Hardware: | x86-64 (AMD64) | ||||||||||||
OS: | All | ||||||||||||
See Also: | https://bugs.freedesktop.org/show_bug.cgi?id=101205 | ||||||||||||
Whiteboard: | ReadyForDev | ||||||||||||
i915 platform: | BYT | i915 features: | display/DSI | ||||||||||
Attachments: |
|
Created attachment 130398 [details]
4.11 r3 dri-tip W/O Dirty Hack
[ 3.073989] [drm:pwm_setup_backlight [i915]] *ERROR* Failed to own the pwm chip You're missing some pwm/gpio stuff most likely from the kernel (or it got loaded after i915). Make sure you have at least these: CONFIG_PWM=y CONFIG_PWM_CRC=y CONFIG_I2C_DESIGNWARE_PLATFORM=y CONFIG_I2C_DESIGNWARE_PCI=y CONFIG_INTEL_SOC_PMIC=y *** Bug 101603 has been marked as a duplicate of this bug. *** (In reply to Elizabeth from comment #3) > *** Bug 101603 has been marked as a duplicate of this bug. *** Bug 101603 is the same case. Please check the logs provided by Parker. Thank you. Adding tag into "Whiteboard" field - ReadyForDev *Status is correct *Platform is included *Feature is included *Priority and Severity correctly set *Logs included Hello Pavel, Were you able to test with the parameters that Ville mention? (In reply to Ville Syrjala from comment #2) > [ 3.073989] [drm:pwm_setup_backlight [i915]] *ERROR* Failed to own the > pwm chip > > You're missing some pwm/gpio stuff most likely from the kernel (or it got > loaded after i915). > > Make sure you have at least these: > CONFIG_PWM=y > CONFIG_PWM_CRC=y > CONFIG_I2C_DESIGNWARE_PLATFORM=y > CONFIG_I2C_DESIGNWARE_PCI=y > CONFIG_INTEL_SOC_PMIC=y If so, please share results? Thank you. (In reply to Elizabeth from comment #5) > Hello Pavel, > Were you able to test with the parameters that Ville mention? > > (In reply to Ville Syrjala from comment #2) > > [ 3.073989] [drm:pwm_setup_backlight [i915]] *ERROR* Failed to own the > > pwm chip > > > > You're missing some pwm/gpio stuff most likely from the kernel (or it got > > loaded after i915). > > > > Make sure you have at least these: > > CONFIG_PWM=y > > CONFIG_PWM_CRC=y > > CONFIG_I2C_DESIGNWARE_PLATFORM=y > > CONFIG_I2C_DESIGNWARE_PCI=y > > CONFIG_INTEL_SOC_PMIC=y > > If so, please share results? Thank you. If those help, this is a dupe of bug 96571. Now backlight is working, but I still have bug with rotation. Just merged last drm-tip. I have black screen without hack, with hack I have image, but when I am trying to reinit panel (xrandr --off && --auto), or connect HDMI, or rotate, I have black screen Also now I see DSI1 instead of UNKNOWN in Xrandr. add_efi_memmap helped me Created attachment 132672 [details]
4.12 last drm-tip
Also if i try to use xrandr --off, --auto will not start display, it will be black (In reply to Pavel from comment #9) > Created attachment 132672 [details] > 4.12 last drm-tip Not much info there. Please do these steps: 1. Remove all this stuff from the kernel command line: "fbcon=rotate:1 i915.modeset=1 i915.fastboot=1 enable_fbc=1 enable_psr=0" 2. Add drm.debug=0xe instead 3. Boot drm-tip 4. Attach dmesg, and please make it plain text instead of rtf Created attachment 132718 [details]
4.12 drm-tip debug 0xe
(In reply to Pavel from comment #12) > Created attachment 132718 [details] > 4.12 drm-tip debug 0xe [ 2.954679] [drm:intel_dsi_init [i915]] *ERROR* Failed to own gpio for panel control [ 2.954783] [drm:pwm_setup_backlight [i915]] *ERROR* Failed to own the pwm chip So looks like you might still be missing some of the needed kernel config options listed in comment 2. [ 4.026941] i2c_designware 80860F41:00: controller timed out [ 4.054787] i2c_designware 80860F41:00: timeout in disabling adapter [ 4.077474] i2c_designware 80860F41:00: timeout waiting for bus ready And it looks like there's something wrong with i2c. Not sure if those might affect the display as well somehow. At least we don't do any direct i2c banging from DSI code so these shouldn't be coming directly from i915 at least. I have this kernel options. Also I already tried hack for timeout on i2c. It didn't work. Last merge of drm-tip fixed everything! 4.16-rc3. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 130397 [details] 4.11 r3 drm-tip WITH Dirty Hack No screen image on display. Just black with backlight. Fastboot=1 doesn't working. Get fastboot to work by dirty hack: [ In intel_display.c, I changed the line FROM if (i915.fastboot && intel_pipe_config_compare(dev, to_intel_crtc_state(crtc->state), pipe_config, true)) { TO if (i915.fastboot) { ] Now display is working with fastboot=1, but XRANDR detects it as a UNKNOWN. If try to change display orientation, I will get black screen with backlight. If I use kernel without dirty hack, it detects DSI panel normally, but it's black.