On 9 March 2017 at 17:38, Christian König wrote:
>> I do wonder if we need the separate sem signal/wait interface, I think
>> we should just add
>> semaphore chunks to the CS interface.
>
> Yeah, that's what I've said as well from the very first beginning.
>
> Another question is if we should real
Am 09.03.2017 um 09:15 schrieb Dave Airlie:
On 9 March 2017 at 17:38, Christian König wrote:
I do wonder if we need the separate sem signal/wait interface, I think
we should just add
semaphore chunks to the CS interface.
Yeah, that's what I've said as well from the very first beginning.
Anoth
Am 09.03.2017 um 00:18 schrieb Alex Deucher:
Reject it if there are any invalid flags or domains.
Signed-off-by: Alex Deucher
Reviewed-by: Christian König for both patches.
---
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 21 +
1 file changed, 21 insertions(+)
diff --g
Am 09.03.2017 um 04:44 schrieb Alex Deucher:
From: Junwei Zhang
Signed-off-by: Flora Cui
Reviewed-by: Jammy Zhou
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 6 ++
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 24 +
Am 09.03.2017 um 04:44 schrieb Alex Deucher:
From: Ken Wang
Newer asics use 64 bit wptrs
We need a better patch description. Newer asics doesn't use 64bit wptrs,
but rather need them!
E.g. if the wptr is now smaller than the rptr that doesn't indicate a
wrap around any more.
Signed-of
Am 09.03.2017 um 04:44 schrieb Alex Deucher:
Newer asics have a two levels of irq ids now:
client id - the IP
src id - the interrupt src within the IP
Signed-off-by: Alex Deucher
Signed-off-by: Ken Wang
Reviewed-by: Ken Wang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu
Am 09.03.2017 um 04:44 schrieb Alex Deucher:
From: Rex Zhu
Signed-off-by: Rex Zhu
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
b/driv
Patches #3, #4, #12, #15 - #23 are Reviewed-by: Christian König
.
Patch #8, #13, #14 are Acked-by: Christian König .
The rest I've either send comments for or are already Reviewed by me.
Regards,
Christian.
Am 09.03.2017 um 04:44 schrieb Alex Deucher:
This set of patches updates various infr
On 2017年03月09日 17:12, Christian König wrote:
Am 09.03.2017 um 09:15 schrieb Dave Airlie:
On 9 March 2017 at 17:38, Christian König
wrote:
I do wonder if we need the separate sem signal/wait interface, I think
we should just add
semaphore chunks to the CS interface.
Yeah, that's what I've sa
Am 09.03.2017 um 10:43 schrieb zhoucm1:
On 2017年03月09日 17:12, Christian König wrote:
Am 09.03.2017 um 09:15 schrieb Dave Airlie:
On 9 March 2017 at 17:38, Christian König
wrote:
I do wonder if we need the separate sem signal/wait interface, I
think
we should just add
semaphore chunks to th
On Wed, Mar 08, 2017 at 03:34:47PM -0500, Alex Deucher wrote:
> On Wed, Mar 8, 2017 at 12:01 AM, Lukas Wunner wrote:
> > On Tue, Mar 07, 2017 at 03:30:30PM -0500, Alex Deucher wrote:
> >> On Fri, Feb 24, 2017 at 2:19 PM, Lukas Wunner wrote:
> >> > An external Thunderbolt GPU can neither drive the
You need a commit message here. Something like "apply the new IB flag
during command submission".
Am 08.03.2017 um 08:54 schrieb Monk Liu:
Change-Id: I779abc6a47593be0ff5234c3e2f2cdfd25ba70ca
Signed-off-by: Monk Liu
---
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 4
1 file changed, 4 inser
Sorry my spam filter completely blocked this set, not idea why.
Did send out a review about a minute ago.
Christian.
Am 09.03.2017 um 05:19 schrieb Liu, Monk:
Anyone review the 4 patches and another libdrm patch ?
-邮件原件-
发件人: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] 代表
On Thu, Mar 9, 2017 at 5:55 AM, Lukas Wunner wrote:
> On Wed, Mar 08, 2017 at 03:34:47PM -0500, Alex Deucher wrote:
>> On Wed, Mar 8, 2017 at 12:01 AM, Lukas Wunner wrote:
>> > On Tue, Mar 07, 2017 at 03:30:30PM -0500, Alex Deucher wrote:
>> >> On Fri, Feb 24, 2017 at 2:19 PM, Lukas Wunner wrote
On Thu, Mar 9, 2017 at 2:03 AM, Michel Dänzer wrote:
> From: Michel Dänzer
>
> This is the only place we call drmmode_set_desired_modes for GPU screens
> during server startup. Without this change, the display outputs of
> secondary GPUs may stay on even while Xorg isn't using them.
>
> (Ported f
Now you can do cool things like
umr -v 0@`umr -r *.*.mmUVD_LMI_RBC_RB_64BIT_BAR_LOW` 100
To read (in this case) the first 256 bytes of the UVD ring
buffer.
Signed-off-by: Tom St Denis
---
src/lib/read_vram.c | 40 +---
1 file changed, 29 insertions(+), 11 de
On Fri, Feb 24, 2017 at 08:19:45PM +0100, Lukas Wunner wrote:
> Fix Thunderbolt-related issues in apple-gmux and vga_switcheroo:
>
> Patch [1/5] ("Recognize Thunderbolt devices") has already been subjected
> to a fair amount of scrutiny over at linux-pci@, I've submitted it 5 times
> total since M
From: Ken Wang
Newer asics need 64 bit wptrs. If the wptr is now
smaller than the rptr that doesn't indicate a wrap-around
anymore.
v2: integrate Christian's comments.
Signed-off-by: Ken Wang
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h
From: Ken Wang
Newer asics need 64 bit writeback slots.
Reviewed-by: Christian König
Signed-off-by: Ken Wang
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h| 2 ++
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 39 +++
From: Huang Rui
This will be used for newer asics.
Acked-by: Christian König
Signed-off-by: Huang Rui
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 7 +--
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | 2 ++
2 files changed, 7 inserti
From: Rex Zhu
v2: agd: integrate Christian's comments.
Signed-off-by: Rex Zhu
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 26 --
1 file changed, 12 insertions(+), 14 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
From: Alex Xie
This lets each asic set whichever flags it supports.
Signed-off-by: Alex Xie
Reviewed-by: Alex Deucher
Reviewed-by: Christian König
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 4
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 12 +++-
d
The contextID field (formerly known as src_data) of the IH
vector stores client specific information about an interrupt.
It was expanded from 32 bits to 128 on newer asics. Expand the
src_id field to handle this.
Reviewed-by: Harry Wentland
Reviewed-by: Christian König
Signed-off-by: Alex Deuch
This set of patches updates various infrastructure in the driver
to support new asics.
v2: integrate comments and reviews.
Alex Deucher (3):
drm/amdgpu: switch ih handling to two levels (v2)
drm/amdgpu/ih: store the full context id
drm/amdgpu: add asic callback to get memsize register
Alex
From: Leo Liu
Reviewed-by: Christian König
Signed-off-by: Leo Liu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 29 +
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.h | 25 +
2 files changed, 26
From: Leo Liu
Reviewed-by: Christian König
Signed-off-by: Leo Liu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
b/drivers/gpu/drm/amd/a
From: Leo Liu
Reviewed-by: Christian König
Signed-off-by: Leo Liu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
b/drivers/gpu/drm/amd/amdgpu
Newer asics have a two levels of irq ids now:
client id - the IP
src id - the interrupt src within the IP
v2: integrated Christian's comments.
Signed-off-by: Alex Deucher
Signed-off-by: Ken Wang
Reviewed-by: Ken Wang
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c |
From: Chunming Zhou
Necessary for new asics.
Signed-off-by: Chunming Zhou
Reviewed-by: Christian König
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 8
drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | 4 ++--
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 6 +++
From: Leo Liu
Reviewed-by: Christian König
Signed-off-by: Leo Liu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
b/drivers/gpu/d
From: Alex Xie
Set asic specific gart pte flags in the gmc IP module for
each asic.
Signed-off-by: Alex Xie
Reviewed-by: Alex Deucher
Reviewed-by: Christian König
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 4
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 4 +
From: Ken Wang
Newer asics need 64 bit doorbells.
v2: fix comment (Nils)
Reviewed-by: Christian König
Signed-off-by: Ken Wang
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h| 4
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 38
From: Junwei Zhang
v2: agd: move apertures to mc structure
Signed-off-by: Flora Cui
Reviewed-by: Jammy Zhou
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 5 +
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 24 +---
driver
From: Leo Liu
And initialize them
Reviewed-by: Christian König
Signed-off-by: Leo Liu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | 3 ++-
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h | 2 ++
2 files changed, 4 insertions(+), 1 deletion(-)
Newer asics use different registers so abstract it.
Reviewed-by: Christian König
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h| 3 +++
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +-
drivers/gpu/drm/amd/amdgpu/cik.c | 6 ++
drivers/gpu/drm/amd/amdg
From: Leo Liu
Reviewed-by: Christian König
Signed-off-by: Leo Liu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 30 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h | 26 ++
2 files changed, 2
From: Leo Liu
Reviewed-by: Christian König
Signed-off-by: Leo Liu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 3 +++
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | 1 +
2 files changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/amd/amd
From: Huang Rui
Acked-by: Christian König
Signed-off-by: Huang Rui
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/include/amd_shared.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/include/amd_shared.h
b/drivers/gpu/drm/amd/include/am
From: Leo Liu
Reviewed-by: Christian König
Signed-off-by: Leo Liu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
include/uapi/drm/amdgpu_drm.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
index
From: Huang Rui
Acked-by: Christian König
Signed-off-by: Huang Rui
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/include/amd_shared.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/include/amd_shared.h
b/drivers/gpu/drm/amd/include/am
From: Leo Liu
Reviewed-by: Christian König
Signed-off-by: Leo Liu
Reviewed-by: Alex Deucher
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h
b/drivers/gpu/drm/amd/amdgpu/amdgpu
Am 09.03.2017 um 16:25 schrieb Alex Deucher:
From: Rex Zhu
v2: agd: integrate Christian's comments.
Signed-off-by: Rex Zhu
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 26 --
1 file changed, 12 insertions(+), 14 deletions(-)
diff --
Patch #1 is Acked-by: Christian König .
Patch #2 and #5 are Reviewed-by: Christian König .
One more comment on patch #11 and I didn't miss anything, did I?
Christian.
Am 09.03.2017 um 16:25 schrieb Alex Deucher:
This set of patches updates various infrastructure in the driver
to support new a
On Thu, Mar 9, 2017 at 10:53 AM, Christian König
wrote:
> Am 09.03.2017 um 16:25 schrieb Alex Deucher:
>>
>> From: Rex Zhu
>>
>> v2: agd: integrate Christian's comments.
>>
>> Signed-off-by: Rex Zhu
>> Signed-off-by: Alex Deucher
>> ---
>> drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 26
>> ++
On Thu, Mar 9, 2017 at 10:55 AM, Christian König
wrote:
> Patch #1 is Acked-by: Christian König .
>
> Patch #2 and #5 are Reviewed-by: Christian König .
>
> One more comment on patch #11 and I didn't miss anything, did I?
Nope, I think that's it.
Alex
>
> Christian.
>
>
> Am 09.03.2017 um 16:25
Am 09.03.2017 um 16:57 schrieb Alex Deucher:
On Thu, Mar 9, 2017 at 10:53 AM, Christian König
wrote:
Am 09.03.2017 um 16:25 schrieb Alex Deucher:
From: Rex Zhu
v2: agd: integrate Christian's comments.
Signed-off-by: Rex Zhu
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amd
On Thu, Mar 9, 2017 at 11:50 AM, Christian König
wrote:
> Am 09.03.2017 um 16:57 schrieb Alex Deucher:
>>
>> On Thu, Mar 9, 2017 at 10:53 AM, Christian König
>> wrote:
>>>
>>> Am 09.03.2017 um 16:25 schrieb Alex Deucher:
From: Rex Zhu
v2: agd: integrate Christian's comments.
From: Rex Zhu
v2: agd: integrate Christian's comments.
v3: print error message if call fails
Signed-off-by: Rex Zhu
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 32 +-
1 file changed, 18 insertions(+), 14 deletions(-)
diff --git a/d
Currently compute jobs will stall if GFX_PG is enabled. Until this
is resolved we'll disable GFX_PG.
Signed-off-by: Tom St Denis
---
drivers/gpu/drm/amd/amdgpu/vi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/v
Am 09.03.2017 um 18:04 schrieb Alex Deucher:
From: Rex Zhu
v2: agd: integrate Christian's comments.
v3: print error message if call fails
Signed-off-by: Rex Zhu
Signed-off-by: Alex Deucher
Reviewed-by: Christian König
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 32 +++
> -Original Message-
> From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf
> Of Tom St Denis
> Sent: Thursday, March 09, 2017 1:22 PM
> To: amd-gfx@lists.freedesktop.org
> Cc: StDenis, Tom
> Subject: [PATCH] drm/amd/amdgpu: Disable GFX_PG on Carrizo until
> compute issues
Hi Dave,
A few fixes for 4.11.
The following changes since commit c1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201:
Linux 4.11-rc1 (2017-03-05 12:59:56 -0800)
are available in the git repository at:
git://people.freedesktop.org/~agd5f/linux drm-fixes-4.11
for you to fetch changes up to a5b11dac1f
> Completely agree, problem here is that this isn't documented like this in
> the Vulkan specification as far as I know.
(I'm adding dri-devel, since I think Intel folks have looked into some
of this already,
and we might need to make some common functionality).
"The semaphore must be signaled, o
Am 10.03.2017 um 00:19 schrieb Dave Airlie:
Completely agree, problem here is that this isn't documented like this in
the Vulkan specification as far as I know.
(I'm adding dri-devel, since I think Intel folks have looked into some
of this already,
and we might need to make some common functiona
From: Dave Airlie
If we don't reset the chunk info in the error path, the subsequent
fini path will double free.
Signed-off-by: Dave Airlie
---
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
b/drivers/gpu/drm
Consistent formatting makes it easier to read the logs and apply simple
awk oneliners.
I missed some of these on my last patch.
Signed-off-by: Andres Rodriguez
---
drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/gp
Remove pointers which provide redundant information which is already
easier to deduce from other fields.
Signed-off-by: Andres Rodriguez
---
drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | 21 +
1 file changed, 5 insertions(+), 16 deletions(-)
diff --git a/drivers/gpu/drm/amd/am
A unique id is useful for debugging and tracing. Intended to replace
pointers in ftrace output.
Signed-off-by: Andres Rodriguez
---
drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 2 ++
drivers/gpu/drm/amd/scheduler/gpu_scheduler.h | 2 ++
2 files changed, 4 insertions(+)
diff --git a/drivers/g
These are some of the extra changes Christian was requesting in the
previous ftrace thread.
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Pointers get reallocated and they are hard to read for humans. Use ids
instead.
Signed-off-by: Andres Rodriguez
---
drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h
b/drivers/
Fence data is easier to read and allows us to correlate to identify
corresponding dma_fence ftrace events.
Signed-off-by: Andres Rodriguez
---
drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | 13 +
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/am
nice patches, the set is Reviewed-by: Chunming Zhou
On 2017年03月10日 10:25, Andres Rodriguez wrote:
These are some of the extra changes Christian was requesting in the
previous ftrace thread.
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https
>
> As far as I can see the only functionality we are missing here is:
>
> void sync_file_signal(struct sync_file *sync_file, struct dma_fence *fence)
> {
> dma_fence_put(sync_file->fence);
> sync_file->fence = fence;
> }
>
> We probably should do this atomically, but that is only a matter
On 10 March 2017 at 13:25, Dave Airlie wrote:
>>
>> As far as I can see the only functionality we are missing here is:
>>
>> void sync_file_signal(struct sync_file *sync_file, struct dma_fence *fence)
>> {
>> dma_fence_put(sync_file->fence);
>> sync_file->fence = fence;
>> }
>>
>> We proba
On 10 March 2017 at 14:27, Dave Airlie wrote:
> On 10 March 2017 at 13:25, Dave Airlie wrote:
>>>
>>> As far as I can see the only functionality we are missing here is:
>>>
>>> void sync_file_signal(struct sync_file *sync_file, struct dma_fence *fence)
>>> {
>>> dma_fence_put(sync_file->fence
65 matches
Mail list logo