Summary: | [bisected] Console garbled on MacBookPro's | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Ronald <ronald> | ||||||
Component: | DRM/Intel | Assignee: | Imre Deak <imre.deak> | ||||||
Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||
Severity: | normal | ||||||||
Priority: | high | CC: | daniel, imre.deak, intel-gfx-bugs, jwrdegoede, lakshminarayana.vudum, ville.syrjala | ||||||
Version: | DRI git | Keywords: | regression | ||||||
Hardware: | x86-64 (AMD64) | ||||||||
OS: | Linux (All) | ||||||||
Whiteboard: | Triaged, ReadyForDev | ||||||||
i915 platform: | SKL | i915 features: | display/Other | ||||||
Attachments: |
|
Description
Ronald
2018-10-07 09:19:24 UTC
Created attachment 141959 [details]
Screenshot of the glitch
screenshot of the glitch is taken from github and attached here.
Looks really like an FB corruption problem reported by Mika Westerberg. He bisected it to commit 011f22eb545a35f972036bb6a245c95c2e7e15a0 Author: Hans de Goede <j.w.r.degoede@gmail.com> Date: Fri Apr 20 11:59:33 2018 +0200 drm/i915: Do NOT skip the first 4k of stolen memory for pre-allocated buffers v2 Later Ville spotted in dmesg that it's caused by an incorrect assumption by the initial FB allocation code that an active FB during booting is always in stolen memory. In this case it's not and as a result the driver won't reserve the actual backing pages which will be later corrupted by whatever happens to allocate these pages. Solution is to throw away the active FB in this case and allocate a new one. I'm planning to follow up with a patch for that. (In reply to Imre Deak from comment #2) > Looks really like an FB corruption problem reported by Mika Westerberg. He > bisected it to > > commit 011f22eb545a35f972036bb6a245c95c2e7e15a0 > Author: Hans de Goede <j.w.r.degoede@gmail.com> > Date: Fri Apr 20 11:59:33 2018 +0200 > > drm/i915: Do NOT skip the first 4k of stolen memory for pre-allocated > buffers v2 > > Later Ville spotted in dmesg that it's caused by an incorrect assumption by > the initial FB allocation code that an active FB during booting is always in > stolen memory. In this case it's not and as a result the driver won't > reserve the actual backing pages which will be later corrupted by whatever > happens to allocate these pages. > > Solution is to throw away the active FB in this case and allocate a new one. > I'm planning to follow up with a patch for that. ronald, oops, sorry didn't notice that you already bisected the same commit. So this is definitely the same problem then. Imre, thanks, given your comment I will let you deal with this. Fixed in drm-tip: commit 914a4fd8cd28016038ce749a818a836124a8d270 Author: Imre Deak <imre.deak@intel.com> Date: Tue Oct 16 19:00:11 2018 +0300 drm/i915/gen9+: Fix initial readout for Y tiled framebuffers Ronald, can you please verify this issue with latest drm-tip?https://cgit.freedesktop.org/drm-tip (In reply to Lakshmi from comment #6) > Ronald, can you please verify this issue with latest > drm-tip?https://cgit.freedesktop.org/drm-tip Yes, I can confirm it's fixed in drm-tip (at commit 166bc98d7b7700594). Thanks for everybody's work here! Thanks for the feedback. Closing this bug as Resolved/fixed. |
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.