[Bug 97290] Commit 055c3ff69d440928964228455ec29b071258d5fa breaks multi monitor setup

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 11 08:28:19 UTC 2016


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

--- Comment #5 from Kim Lidström <dxtr at emacs.church> ---
Comment on attachment 125693
  --> https://bugs.freedesktop.org/attachment.cgi?id=125693
Patch that makes everything work again

diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 99014d7..1438a4b 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -3352,8 +3352,6 @@ static uint32_t skl_wm_method2(uint32_t pixel_rate,
uint32_t pipe_htotal,
                plane_bytes_per_line *= 4;
                plane_blocks_per_line = DIV_ROUND_UP(plane_bytes_per_line,
512);
                plane_blocks_per_line /= 4;
-       } else if (tiling == DRM_FORMAT_MOD_NONE) {
-               plane_blocks_per_line = DIV_ROUND_UP(plane_bytes_per_line, 512)
+ 1;
        } else {
                plane_blocks_per_line = DIV_ROUND_UP(plane_bytes_per_line,
512);
        }

-- 
You are receiving this mail because:
You are the assignee for the bug.
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/20160811/6b7c9419/attachment.html>


More information about the intel-gfx-bugs mailing list