<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Commit 055c3ff69d440928964228455ec29b071258d5fa breaks multi monitor setup"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97290#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Commit 055c3ff69d440928964228455ec29b071258d5fa breaks multi monitor setup"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97290">bug 97290</a>
from <span class="vcard"><a class="email" href="mailto:dxtr@emacs.church" title="Kim Lidström <dxtr@emacs.church>"> <span class="fn">Kim Lidström</span></a>
</span></b>
<pre>Comment on <span class=""><a href="attachment.cgi?id=125693" name="attach_125693" title="Patch that makes everything work again">attachment 125693</a> <a href="attachment.cgi?id=125693&action=edit" title="Patch that makes everything work again">[details]</a></span>
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);
}</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>