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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 26 16:16:04 UTC 2017


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

--- Comment #14 from Rafael Ristovski <rafael.ristovski at gmail.com> ---
(In reply to Jani Nikula from comment #13)
> 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);
>  }

Again patch is a no-go, attaching logs of working vs bad+patched now.

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


More information about the intel-gfx-bugs mailing list