[Bug 104975] Delay in skl_disable_plane() causes a system freeze

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon May 7 21:22:56 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=104975

--- Comment #72 from Azhar <azhar.shaikh at intel.com> ---
(In reply to Ville Syrjala from comment #71)
> Came up with one more random idea:
> git://github.com/vsyrjala/linux.git double_buffer_ctl_simple_2

This branch still had the spinlock issues (introduced with this patch "grab
double buffer ctl around the entire update") mentioned in comment #69, have
commented the schedule_timeout() in intel_pipe_update_start(), to move forward. 


1. adjust the DDB and plane update seqeunces
2. irqsave/restore for skl wm
3. double buffer disable for scalers too
4. grab double buffer ctl around the entire update
5. leave the "allow" bit on, but arm the ddb/wm with a SURF write
6. clear the double buffer allow bits immediately after ddb/wm change
7. drm/i915: Use DOUBLE_BUFFER_CTL and disable planes before frobbing wm/ddb

With above patches on top of Linux-stable 4.15.18 without the support of IPC on
BXT+, system still crashes.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20180507/2fdc73dc/attachment.html>


More information about the intel-gfx-bugs mailing list