Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/i915: Always recompute watermarks when distrust_bios_wm is set, v2.
On some systems there can be a race condition in which no crtc state is added to the first atomic commit. This results in all crtc's having a null DDB allocation, causing a FIFO underrun on any update until the first modeset. Changes since v1: - Do not take the connection_mutex, this is already done below. Reported-by: Maarten Lankhorst <[email protected]> Inspired-by: Mahesh Kumar <[email protected]> Signed-off-by: Maarten Lankhorst <[email protected]> Fixes: 98d3949 ("drm/i915/gen9: Compute DDB allocation at atomic check time (v4)") Cc: <[email protected]> # v4.8+ Cc: Mahesh Kumar <[email protected]> Cc: Matt Roper <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Mahesh Kumar <[email protected]> Reviewed-by: Matt Roper <[email protected]>
- Loading branch information