From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 87682] Horizontal lines in radeon driver on kernel 3.15 and upwards Date: Mon, 09 May 2016 20:42:54 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2080017629==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E64806E3EB for ; Mon, 9 May 2016 20:42:53 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2080017629== Content-Type: multipart/alternative; boundary="14628265733.dD90.12921"; charset="UTF-8" --14628265733.dD90.12921 Date: Mon, 9 May 2016 20:42:53 +0000 MIME-Version: 1.0 Content-Type: text/plain https://bugs.freedesktop.org/show_bug.cgi?id=87682 --- Comment #14 from Thom --- (In reply to Chris Bainbridge from comment #13) > This might be https://bugzilla.kernel.org/show_bug.cgi?id=75241 - there is > one line patch there from Christian König but it doesn't look like it was > ever merged. I did a git fetch origin , git reset --hard origin/master to get a plain unaltered current kernel again (4.6.0-rc7+) I changed the one line in ./drivers/gpu/drm/radeon/radeon_display.c: fb_div_max = pll->max_feedback_div; to: fb_div_max = min(pll->max_feedback_div, 512u); according to: https://bugzilla.kernel.org/attachment.cgi?id=142281 (linked from https://bugzilla.kernel.org/show_bug.cgi?id=75241) and compiled (make && make modules_install install) Assuming that i did not make a mistake or overlooked something; this patch didn't work, lots of noise/artefacts. Timings seem identical to the other "bad" compilations, i.e. nothing changed: (bootparam drm.debug=4) [drm:radeon_compute_pll_avivo] 69300 - 69290, pll dividers - fb: 135.5 ref: 2, post 14 too bad, but it was absolutely worth to try. I wonder if "fb" and "post" are consequently too low....is that possible ? -- You are receiving this mail because: You are the assignee for the bug. --14628265733.dD90.12921 Date: Mon, 9 May 2016 20:42:53 +0000 MIME-Version: 1.0 Content-Type: text/html

Comment # 14 on bug 87682 from
(In reply to Chris Bainbridge from comment #13)
> This might be https://bugzilla.kernel.org/show_bug.cgi?id=75241 - there is
> one line patch there from Christian König but it doesn't look like it was
> ever merged.

I did a git fetch origin , git reset --hard origin/master
to get a plain unaltered current kernel again (4.6.0-rc7+)

I changed the one line in ./drivers/gpu/drm/radeon/radeon_display.c:
    fb_div_max = pll->max_feedback_div;
to:
    fb_div_max = min(pll->max_feedback_div, 512u); 
according to:
    https://bugzilla.kernel.org/attachment.cgi?id=142281
    (linked from https://bugzilla.kernel.org/show_bug.cgi?id=75241)

and compiled (make && make modules_install install)

Assuming that i did not make a mistake or overlooked something;
this patch didn't work, lots of noise/artefacts.
Timings seem identical to the other "bad" compilations, i.e. nothing changed:

(bootparam drm.debug=4)
 [drm:radeon_compute_pll_avivo] 69300 - 69290, pll dividers - fb: 135.5 ref: 2,
post 14

too bad, but it was absolutely worth to try.
I wonder if "fb" and "post" are consequently too low....is that possible ?


You are receiving this mail because:
  • You are the assignee for the bug.
--14628265733.dD90.12921-- --===============2080017629== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============2080017629==--