Bug 97330

Summary: [chv dsi] black screen
Product: DRI Reporter: Juan <juan_sabio>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs, jwrdegoede
Version: XOrg git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: BSW/CHT i915 features: display/DSI
Attachments:
Description Flags
dmesg output and error file
none
dmesg extracted from the tarball
none
Dmesg without modeset=0
none
drm/i915/dsi: Do not clear DPOUNIT_CLOCK_GATE_DISABLE from vlv_init_display_clock_gating none

Description Juan 2016-08-13 11:38:21 UTC
Created attachment 125766 [details]
dmesg output and error file

I have a black screen on booting.

I boot in recovery mode with option modeset=0, then I remove the module i915, and reload it again with option modeset=1. then the screens turns black but I still can send commands to the terminal. Sometimes it works well so I can go on and start normally. 

The system is and HP pro 608 g1 tablet with and intel atom x5-z8500 and hd graphics(CHERRYVIEW)

System architecture: x86_64
Kernel: 4.8.0-rc1-hp+ (lastest drm-intel-nightly)
Linux Distribution: Debian Testing

I've attached dmesg output and /sys/class/drm/card0/error

Thanks Juan
Comment 1 Jani Nikula 2016-08-16 11:29:02 UTC
Created attachment 125812 [details]
dmesg extracted from the tarball
Comment 2 Jani Nikula 2016-08-16 11:32:52 UTC
Please remove any modeset=0 parameters, reboot, and grab the dmesg. If this leads to black screen, please try to ssh in or do it blind.
Comment 3 Juan 2016-08-16 20:18:26 UTC
Created attachment 125827 [details]
Dmesg without modeset=0

I've attached three files dmesg_ok.txt when everything runs ok.
dmesg_vblank_timeout.txt and Xorg.0.log when i get black screen but everything else works well so I can get these files through ssh.
Comment 4 Hans de Goede 2016-12-01 15:43:29 UTC
Created attachment 128301 [details] [review]
drm/i915/dsi: Do not clear DPOUNIT_CLOCK_GATE_DISABLE from vlv_init_display_clock_gating

Hi,

I've been seeing this same issue on another cherrytrail tablet. After working on debugging this more or less every evening for about a week, I believe I now have a fix :)

Can you please build a recent kernel with the attached patch and see if that fixes this for you ?

Regards,

Hans
Comment 5 Juan 2016-12-10 20:24:04 UTC
Hi,

I've build lasted kernel and I have applied the attached patch and it works!

Thanks a lot. You have done a great Job.

Regards,

Juan
Comment 6 yann 2016-12-12 09:08:20 UTC
Resolving as fixed, it is already merged in drm-tip:

author	Hans de Goede <hdegoede@redhat.com>	2016-12-02 14:29:04 (GMT)
committer	Ville Syrjälä <ville.syrjala@linux.intel.com>
commit	721d484563e1a51ada760089c490cbc47e909756 (patch)

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.