From: "Christian König" <deathsimple@vodafone.de>
To: Ross Zwisler <ross.zwisler@linux.intel.com>,
"Deucher, Alexander" <Alexander.Deucher@amd.com>
Cc: "Michel Dänzer" <michel@daenzer.net>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"dri-devel@lists.freedesktop.org"
<dri-devel@lists.freedesktop.org>,
"Dave Airlie" <airlied@redhat.com>,
"Lauri Kasanen" <cand@gmx.com>,
"Koenig, Christian" <Christian.Koenig@amd.com>
Subject: Re: [PATCH] drm/radeon: Fix regression with suspend/resume
Date: Wed, 18 Feb 2015 13:02:23 +0100 [thread overview]
Message-ID: <54E47F4F.9090500@vodafone.de> (raw)
In-Reply-To: <1424195346.12687.6.camel@theros.lm.intel.com>
On 17.02.2015 18:49, Ross Zwisler wrote:
> On Sat, 2015-02-14 at 06:25 +0000, Deucher, Alexander wrote:
>>> -----Original Message-----
>>> From: Ross Zwisler [mailto:ross.zwisler@linux.intel.com]
>>> Sent: Friday, February 13, 2015 10:55 PM
>>> To: Michel Dänzer
>>> Cc: linux-kernel@vger.kernel.org; dri-devel@lists.freedesktop.org; Deucher,
>>> Alexander; Dave Airlie; Lauri Kasanen; Koenig, Christian
>>> Subject: Re: [PATCH] drm/radeon: Fix regression with suspend/resume
>>>
>>> On Fri, 2015-02-13 at 11:41 +0900, Michel Dänzer wrote:
>>>> On 13.02.2015 05:30, Ross Zwisler wrote:
>>>>> This patch reverts the changes made in this commit:
>>>>>
>>>>> deadcb36f49b ("drm/radeon: Use two-ended allocation by size, v2")
>>>>>
>>>>> That patch caused a regression on my system where the bottom of the
>>>>> screen flickers after my laptop goes thorough a suspend and resume.
>>>> What kind of flicker is it? E.g. does it only affect X or also console,
>>>> does it flicker all the time or only when there is activity, what does
>>>> it look like, ...
>>> It's kind of hard to describe it precisely, so I made a video. :)
>>>
>>> http://youtu.be/ESm9SMnr0do
>>>
>>> It only affects X, not the console, and it seems to go away if you log
>>> out back to the login manager (I'm using GDM on Fedora 20) and back into
>>> your window manager.
>> Does a VT switch or forcing a dpms cycle (sleep 5; xset dpms force off)
>> also fix it? It doesn't look related to the patch in question at all.
>> Is the flickering 100% reproducible or does it only happen
>> periodically?
> From kernels 3.14 or so (when the deadcb36f49b patch was introduced)
> till 3.18 it happened 100% of the time. With 3.19 it only seems to
> happen maybe 50% of the time, but is still very easily reproducible.
Well, what the patch does is just changing where buffers are placed in
memory. E.g. now we place the buffer at the end of memory as well.
So I can imagine at least three possible causes for the issues you see:
1. We haven't implemented all buffer placement restrictions correctly
and without the patch everything just works fine by coincident.
2. Something is overwriting the buffer at it's new location.
@Alex&Michel: Didn't we had a similar problem internally recently? Or
was that just for APUs?
3. One of the memory chips on your hardware is faulty and without the
patch the we just don't use the affected region (rather unlikely).
For testing could you try to limit the amount of VRAM used? E.g. give
radeon.vramlimit=256 as kernel commandline to limit the VRAM to the
first 256MB.
Regards,
Christian.
>
> It's entirely possible that the patch isn't the root cause, but it just
> brought out a bug somewhere else. All I know is that I did a bisect,
> and with the commit before this the issue never happens, and after this
> commit it happens 100% of the time. :) Also, reverting that commit with
> 3.19 makes the issue go away.
>
> Nope, "xset dpms force off" doesn't fix it. After the screen goes black
> and comes back, the flicker is still there.
>
> - Ross
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2015-02-18 12:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-12 20:30 [PATCH] drm/radeon: Fix regression with suspend/resume Ross Zwisler
2015-02-13 2:41 ` Michel Dänzer
2015-02-14 3:55 ` Ross Zwisler
2015-02-14 6:25 ` Deucher, Alexander
2015-02-17 17:49 ` Ross Zwisler
2015-02-18 12:02 ` Christian König [this message]
2015-02-18 14:13 ` Deucher, Alexander
2015-02-21 23:18 ` Ross Zwisler
2015-02-22 10:44 ` Christian König
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54E47F4F.9090500@vodafone.de \
--to=deathsimple@vodafone.de \
--cc=Alexander.Deucher@amd.com \
--cc=Christian.Koenig@amd.com \
--cc=airlied@redhat.com \
--cc=cand@gmx.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michel@daenzer.net \
--cc=ross.zwisler@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox