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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 27 07:35:35 UTC 2017


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

--- Comment #18 from Jani Nikula <jani.nikula at intel.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);
>  }

I meant, try this *alone* on top of drm-next, without other patches.

-- 
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/20170427/19844605/attachment-0001.html>


More information about the intel-gfx-bugs mailing list