Summary: | [Regression] [bisected] drm/atomic: "plane A assertion failure" after lid close/lid open on older Intel Mobile GME965/GLE960 | ||||||
---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Karsten Hohmeier <dri> | ||||
Component: | DRM/Intel | Assignee: | Maarten Lankhorst <bugs> | ||||
Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||
Severity: | major | ||||||
Priority: | medium | CC: | bugs, intel-gfx-bugs | ||||
Version: | unspecified | ||||||
Hardware: | x86-64 (AMD64) | ||||||
OS: | Linux (All) | ||||||
Whiteboard: | Triaged | ||||||
i915 platform: | i915 features: | display/atomic | |||||
Attachments: |
|
Description
Karsten Hohmeier
2018-09-04 21:32:29 UTC
Please do send the revert to dri-devel@lists.freedesktop.org, cc intel-gfx@lists.freedesktop.org citing this bugzilla for the regression. As the original patch purports to be a simple optimisation, we should revert until the root cause is found and the patch reinstated. You will want to append: Fixes: fc2a69f3903d ("drm/atomic: Handling the case when setting old crtc for plane") Cc: Satendra Singh Thakur <satendra.t@samsung.com> Cc: Madhur Verma <madhur.verma@samsung.com> Cc: Hemanshu Srivastava <hemanshu.s@samsung.com> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Gustavo Padovan <gustavo@padovan.org> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Cc: Sean Paul <seanpaul@chromium.org> Cc: David Airlie <airlied@linux.ie> Cc: dri-devel@lists.freedesktop.org Cc: <stable@vger.kernel.org> Created attachment 141456 [details] [review] crtc_state->plane_mask paranoia Can you check where this patch gives a WARN? Does commit 05c72e77ccda ("drm/i915: Nuke the LVDS lid notifier") fix this? (In reply to Ville Syrjala from comment #3) > Does commit 05c72e77ccda ("drm/i915: Nuke the LVDS lid notifier") > fix this? I have only tested against the stable tree at git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git . Your patch is not in there yet. Should I clone Linus'tree 4.19-rc2 which has it or should I go for your dev-tree at git://anongit.freedesktop.org/drm-intel ? (In reply to Karsten Hohmeier from comment #4) > (In reply to Ville Syrjala from comment #3) > > Does commit 05c72e77ccda ("drm/i915: Nuke the LVDS lid notifier") > > fix this? > > I have only tested against the stable tree at > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git . Your patch > is not in there yet. > > Should I clone Linus'tree 4.19-rc2 which has it or should I go for your > dev-tree at git://anongit.freedesktop.org/drm-intel ? Doesn't really matter. Alternatively you could just cherry pick the commit from one of those trees to your stable branch (git add remote foo <url>; git fetch foo; git cherry-pick <sha>). (In reply to Maarten Lankhorst from comment #2) > Created attachment 141456 [details] [review] [review] > crtc_state->plane_mask paranoia > > Can you check where this patch gives a WARN? I cherry-picked 62f77ad0969594ee428043523bf28329df191b39 "drm: Add drm_plane_mask()" on top of 4.18.5 to make your patch compile, but the result is not bootable and hangs on "fb: switching to inteldrmfb from VESA VGA". The compiler also complained about crtc_state being used uninitialized, but that may have been intentional? (In reply to Ville Syrjala from comment #5) > (In reply to Karsten Hohmeier from comment #4) > > (In reply to Ville Syrjala from comment #3) > > > Does commit 05c72e77ccda ("drm/i915: Nuke the LVDS lid notifier") > > > fix this? > > > > I have only tested against the stable tree at > > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git . Your patch > > is not in there yet. > > > > Should I clone Linus'tree 4.19-rc2 which has it or should I go for your > > dev-tree at git://anongit.freedesktop.org/drm-intel ? > > Doesn't really matter. Alternatively you could just cherry pick the commit > from one of those trees to your stable branch (git add remote foo <url>; git > fetch foo; git cherry-pick <sha>). I cherry-picked commit 05c72e77ccda ("drm/i915: Nuke the LVDS lid notifier") on top of 4.18.5 as you suggested. Yes, it works. The screen corruption is gone and the logs are clean. The 82bcb0e7a45d ("drm/atomic: Handling the case when setting old crtc for plane") change was still in place. Closing this issue as 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.