Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031744AbbKFCZT (ORCPT ); Thu, 5 Nov 2015 21:25:19 -0500 Received: from darkcity.gna.ch ([195.226.6.51]:49413 "EHLO mail.gna.ch" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1031154AbbKFCZR (ORCPT ); Thu, 5 Nov 2015 21:25:17 -0500 Subject: Re: Mobility Radeon HD 4530/4570/545v: flicker in 1920x1080 To: Pavel Machek , Alex Deucher References: <20151031201344.GA30459@amd> <563522C5.1000206@amd.com> <20151031212259.GA6253@amd> <20151103220919.GA4824@amd> <20151103230329.GA4167@amd> <5639B580.1050409@vodafone.de> <20151104221000.GA3608@amd> <20151105202301.GA3624@amd> Cc: "linux-fbdev@vger.kernel.org" , kernel list , Maling list - DRI developers , "Deucher, Alexander" , =?UTF-8?Q?Christian_K=c3=b6nig?= From: =?UTF-8?Q?Michel_D=c3=a4nzer?= X-Enigmail-Draft-Status: N1110 Message-ID: <563C0F85.8070204@daenzer.net> Date: Fri, 6 Nov 2015 11:25:09 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151105202301.GA3624@amd> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1295 Lines: 37 On 06.11.2015 05:23, Pavel Machek wrote: > Hi! > >>>> The flickering would vanish completely if that's the reason for the issue >>>> you are seeing. >>> >>>> Try setting ref_div_min and ref_div_max to 2 in >>>> radeon_compute_pll_avivo(). >>> >>> Ok, I did this, but no luck, still flickers. But the flicker only >>> happens when something changes on screen, like dragging a big >>> window. Is that consistent with wrong PLL timings? >> >> Does it go away with radeon.dpm=0? Sounds more like either memory >> reclocking happening outside of vblank, or underflow to the display >> controllers. > > No, it does not: > > pavel@half:~$ cat /proc/cmdline > BOOT_IMAGE=(hd0,2)/l/linux/arch/x86/boot/bzImage root=/dev/sda4 > resume=/dev/sda1 radeon.dpm=0 > > ..and same issue. And yes, it looks like an underflow to me. How can I > debug reclocking / underflows? Does radeon.disp_priority=2 help? -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/