From: "Christian König" <christian.koenig@amd.com>
To: "Michel Dänzer" <michel.daenzer@amd.com>,
"Gabriel C" <nix.or.die@gmail.com>
Cc: Jean-Marc Valin <jmvalin@mozilla.com>,
Dave Airlie <airlied@linux.ie>,
alexander.deucher@amd.com,
Felix Kuehling <Felix.Kuehling@amd.com>,
Laura Abbott <labbott@redhat.com>,
Andrew Morton <akpm@linux-foundation.org>,
dri-devel@lists.freedesktop.org,
LKML <linux-kernel@vger.kernel.org>,
Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: Kernel and ADM hardware roulette ( was AMD graphics performance regression in 4.15 and later )
Date: Wed, 6 Jun 2018 16:44:12 +0200 [thread overview]
Message-ID: <8f7d00f9-992f-cc07-6bd0-b1b47c5d2ccf@amd.com> (raw)
In-Reply-To: <516cddbe-73c2-01f3-a552-0d9fd75ce63a@amd.com>
Am 06.06.2018 um 16:12 schrieb Michel Dänzer:
> On 2018-06-06 03:33 PM, Gabriel C wrote:
>> 2018-06-06 14:19 GMT+02:00 Christian König <christian.koenig@amd.com>:
>>> Am 06.06.2018 um 14:08 schrieb Gabriel C:
>>>> 2018-06-06 13:33 GMT+02:00 Christian König <christian.koenig@amd.com>:
>>>>> Am 06.06.2018 um 13:28 schrieb Gabriel C:
>>>>>> 2018-04-11 7:02 GMT+02:00 Gabriel C <nix.or.die@gmail.com>:
>>>>>>>
>>>>>>> [ 6.337838] [drm] PCIE GART of 2048M enabled (table at
>>>>>>> 0x00000000001D6000).
>>>>>>> [ 6.338210] radeon 0000:21:00.0: (-12) create WB bo failed
>>>>>>> [ 6.338214] radeon 0000:21:00.0: disabling GPU acceleration
>>>>>>>
>>>>>>> ...
>>>>>>>
>>>>>> I have the same Issue now on final 4.17.
>
> Please file a bug report, and ideally bisect which commit(s)
> introduced the issue(s).
>
>
>>>> http://ftp.frugalware.org/pub/other/people/crazy/radeon/dmesg-iommu-sr-iov-off.txt
>>>>
>>>>
>>>> http://ftp.frugalware.org/pub/other/people/crazy/radeon/dmesg-iommu-sr-iov-on.txt
>>>>
>>>>
>>>> Also nothing else changed in that setup just testing kernel 4.17.
>>>
>>>
>>> That has nothing TODO with the driver nor the original bug you
>>> reported. The
>>> problem is that SME is active and that is currently not supported at
>>> all
>>> with a that hardware.
>>
>> Ok .. so are we playing now kernel an AMD Hardware roulette on each
>> release ?
>>
>> SME was like this in kernel 4.16.x here and all worked.
>
> If that is true, again please bisect which commit broke it.
>
> All the reports I've seen before this indicated that at least amdgpu
> has never worked with SME (which BTW doesn't mean it's never going to
> work or that we don't want to support it, just that as far as we know
> it's currently not working).
At least in theory it should work when we use the coherent DMA allocator.
When that really worked before, so the most likely commit which broke
this is:
commit fd5fd480dd8fe4910546e7b080b3ae345e57fe9f
Author: Chunming Zhou <david1.zhou@amd.com>
Date: Fri Feb 9 10:44:09 2018 +0800
drm/amdgpu: only enable swiotlb alloc when need v2
get the max io mapping address of system memory to see if it is over
our card accessing range.
v2: move checking later
Signed-off-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Monk Liu <monk.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Currently looking into how we could somehow improve this detection.
Regards,
Christian.
next prev parent reply other threads:[~2018-06-06 14:44 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-06 13:33 Gabriel C
2018-06-06 14:12 ` Michel Dänzer
2018-06-06 14:44 ` Christian König [this message]
2018-06-06 15:03 ` Michel Dänzer
2018-06-06 15:44 ` Gabriel C
2018-06-07 7:07 ` Christian König
2018-06-07 12:32 ` Gabriel C
2018-06-07 16:24 ` Gabriel C
2018-06-07 17:20 ` Christian König
2018-06-08 6:01 ` Christoph Hellwig
2018-06-08 6:47 ` Christian König
2018-06-08 6:02 ` Christoph Hellwig
2018-06-08 6:52 ` Christian König
2018-06-08 13:32 ` Gabriel C
2018-06-11 7:15 ` Christoph Hellwig
2018-06-11 19:23 ` Linus Torvalds
2018-06-06 15:24 ` Gabriel C
2018-06-06 14:29 ` 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=8f7d00f9-992f-cc07-6bd0-b1b47c5d2ccf@amd.com \
--to=christian.koenig@amd.com \
--cc=Felix.Kuehling@amd.com \
--cc=airlied@linux.ie \
--cc=akpm@linux-foundation.org \
--cc=alexander.deucher@amd.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=jmvalin@mozilla.com \
--cc=labbott@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=michel.daenzer@amd.com \
--cc=nix.or.die@gmail.com \
--cc=torvalds@linux-foundation.org \
/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
all inboxes | Powered by JetHome®