All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Christian König" <christian.koenig-5C7GfCeVMHo@public.gmane.org>
To: Bas Vermeulen <bas-MbI5SpmOCPBHdOctNixuYw@public.gmane.org>,
	Alex Deucher
	<alexdeucher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: "Michel Dänzer" <michel-otUistvHUpPR7s880joybQ@public.gmane.org>,
	"amd-gfx list"
	<amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>
Subject: Re: AMD E8860 on PowerPC with u-boot (T2080)
Date: Thu, 22 Feb 2018 09:51:17 +0100	[thread overview]
Message-ID: <808b67da-30df-ed8b-f266-34a449d3f4ab@amd.com> (raw)
In-Reply-To: <CAGtoiRiSNHOVUnHDrD9_E41Zunciy_3sMTWFpD_RowZ_D7mAcA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 1943 bytes --]

Am 22.02.2018 um 09:37 schrieb Bas Vermeulen:
> On Wed, Feb 21, 2018 at 6:22 PM, Alex Deucher <alexdeucher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 
> <mailto:alexdeucher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> wrote:
>
>     On Wed, Feb 21, 2018 at 7:43 AM, Christian König
>     [SNIP]
>     > Apart from that I don't have any good idea any more why that
>     shouldn't work.
>
>     Does your platform properly handle DMA masks?  Most radeon hw only
>     supports a 40 bit DMA mask.  If there are relevant bits in the upper
>     bits of the address, they will be lost when the hw tries to use the
>     address.  On at least some powerpc hw, I believe there is some memory
>     routing related info in the high bits.
>
>
> On 4.1 (without the hashing algorithm when printing pointers), The 
> rings are placed thus:
>
> [   11.002673] radeon 0002:01:00.0: fence driver on ring 0 use gpu 
> addr 0x0000000080000c00 and cpu addr 0xc00000007c0c8c00
> [   11.012165] radeon 0002:01:00.0: fence driver on ring 1 use gpu 
> addr 0x0000000080000c04 and cpu addr 0xc00000007c0c8c04
> [   11.021657] radeon 0002:01:00.0: fence driver on ring 2 use gpu 
> addr 0x0000000080000c08 and cpu addr 0xc00000007c0c8c08
> [   11.031152] radeon 0002:01:00.0: fence driver on ring 3 use gpu 
> addr 0x0000000080000c0c and cpu addr 0xc00000007c0c8c0c
> [   11.040644] radeon 0002:01:00.0: fence driver on ring 4 use gpu 
> addr 0x0000000080000c10 and cpu addr 0xc00000007c0c8c10
> [   11.051919] radeon 0002:01:00.0: fence driver on ring 5 use gpu 
> addr 0x0000000000075a18 and cpu addr 0x8000080088db5a18
>
> It's also using bit 63 & 62. So this might be something to look into.

No, that is just the virtual address of the buffer in kernel space and 
perfectly ok.

What you could try is to force the need_dma32 flag to true, see 
drivers/gpu/drm/radeon/radeon_ttm.c and search for need_dma32.

Regards,
Christian.

>
> Bas Vermeulen
>


[-- Attachment #1.2: Type: text/html, Size: 4158 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

  parent reply	other threads:[~2018-02-22  8:51 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-21  8:49 AMD E8860 on PowerPC with u-boot (T2080) Bas Vermeulen
     [not found] ` <CAGtoiRjxS7mgQKG_yib9-5tVkD9_yAkp3P8PxYvipy3bFnV9Rg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-21  9:06   ` Michel Dänzer
     [not found]     ` <62565c2f-a57f-9a2b-8277-ca94937bbe0f-otUistvHUpPR7s880joybQ@public.gmane.org>
2018-02-21  9:14       ` Christian König
     [not found]         ` <bca60368-969e-ff29-1342-432a48c23ffb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-02-21  9:23           ` Bas Vermeulen
     [not found]             ` <CAGtoiRhHVUvg-EH9nESXjA6+T78ezQ4Cebn9rCMt09hudSqDsQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-21  9:31               ` Christian König
     [not found]                 ` <e5ce02b3-a67c-d9d7-69ee-f66b5b82a2d7-5C7GfCeVMHo@public.gmane.org>
2018-02-21  9:51                   ` Bas Vermeulen
2018-02-21  9:18       ` Bas Vermeulen
     [not found]         ` <CAGtoiRjqaseQSw7utV5Ncru1ggrq+p2OAg7weULzzSt0DWNoaA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-21  9:31           ` Michel Dänzer
     [not found]             ` <9b9704ee-05ae-8586-bdf8-0e37171d8829-otUistvHUpPR7s880joybQ@public.gmane.org>
2018-02-21 10:38               ` Bas Vermeulen
     [not found]                 ` <CAGtoiRgJsoETCpE7R+LwQ-941vgifCWQ+9GdDe_-NiNaJK-78A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-21 10:43                   ` Christian König
     [not found]                     ` <8950aedc-29db-ae1b-96c9-20be3c8177eb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-02-21 11:01                       ` Bas Vermeulen
     [not found]                         ` <CAGtoiRhivO8WtafLy-LC=h9VOsOUrwR7=_Uze9pTBAk=FfiVsA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-21 11:52                           ` Christian König
     [not found]                             ` <4b7d2add-456f-5e0e-5aea-15439d2b76e3-5C7GfCeVMHo@public.gmane.org>
2018-02-21 12:13                               ` Bas Vermeulen
     [not found]                                 ` <CAGtoiRhjUShyxeHRuhx_g4zoTYLig=5R_9f-bHAUOcfVO7C0FQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-21 12:43                                   ` Christian König
     [not found]                                     ` <0f2a9449-b81a-2103-cd6b-df8e7e4b1d60-5C7GfCeVMHo@public.gmane.org>
2018-02-21 17:22                                       ` Alex Deucher
     [not found]                                         ` <CADnq5_MDSKX8M+seffLxjdNaF3c6WtwY5Pz03YqBSdg6zG=QkA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-22  8:37                                           ` Bas Vermeulen
     [not found]                                             ` <CAGtoiRiSNHOVUnHDrD9_E41Zunciy_3sMTWFpD_RowZ_D7mAcA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-02-22  8:51                                               ` Christian König [this message]
     [not found]                                                 ` <808b67da-30df-ed8b-f266-34a449d3f4ab-5C7GfCeVMHo@public.gmane.org>
2018-03-14 16:35                                                   ` Bas Vermeulen
2018-02-21 18:12                                       ` Felix Kuehling
2018-02-21  9:36   ` Michel Dänzer
     [not found]     ` <a6b1d334-cf01-993a-a298-4ab63e9189a7-otUistvHUpPR7s880joybQ@public.gmane.org>
2018-02-21  9:56       ` Bas Vermeulen

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=808b67da-30df-ed8b-f266-34a449d3f4ab@amd.com \
    --to=christian.koenig-5c7gfcevmho@public.gmane.org \
    --cc=alexdeucher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    --cc=bas-MbI5SpmOCPBHdOctNixuYw@public.gmane.org \
    --cc=michel-otUistvHUpPR7s880joybQ@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.