[Bug 100755] [HSW] linux next-20170407+ boots to a blank screen

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 26 14:55:18 UTC 2017


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

--- Comment #13 from Jani Nikula <jani.nikula at intel.com> ---
Rafael, please also try

diff --git a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index 85b9e2f521a0..6d608e3df597 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -6288,7 +6288,7 @@ static void compute_m_n(unsigned int m, unsigned int n,
        }

        *ret_n = min_t(unsigned int, roundup_pow_of_two(n), DATA_LINK_N_MAX);
-       *ret_m = div_u64((uint64_t) m * *ret_n, n);
+       *ret_m = DIV_ROUND_CLOSEST_ULL((uint64_t) m * *ret_n, n);
        intel_reduce_m_n_ratio(ret_m, ret_n);
 }

-- 
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/20170426/8c9d83f1/attachment.html>


More information about the intel-gfx-bugs mailing list