Am 20.02.2017 um 10:03 schrieb Zhang, Jerry:
Hi Christian,
Read the mail again, maybe you'd like to add amdgpu_gfx_config to the
amdgpu_gca_config, right?
No, like you did it in the patch is already fine. I don't see much of a
reason for two structures here.
But you could rename
will be
invoked earlier than that of AMD_IP_BLOCK_TYPE_IH. So continue to use
the variable freed by AMD_IP_BLOCK_TYPE_GFX will cause system hang.
Changes in v2:
-- Refine according to Xiangliang Yu's suggestions
Signed-off-by: Trigger Huang <trigger.hu...@amd.com>
Acked-by: Christian
m>
Good catch! Patch is Reviewed-by: Christian König <christian.koe...@amd.com>
--
This does not fix the random memory corruption I've been seeing.
---
drivers/gpu/drm/ttm/ttm_bo_vm.c | 12
1 file changed, 12 insertions(+)
diff --git a/drivers/gpu/drm/ttm/ttm_bo_vm.c b/
Am 23.02.2017 um 21:48 schrieb Andres Rodriguez:
On 2017-02-23 02:46 PM, Andres Rodriguez wrote:
On 2017-02-23 03:20 AM, Christian König wrote:
Am 23.02.2017 um 00:47 schrieb Andres Rodriguez:
This trace is intended to provide the required information to
associate
the completion
Am 24.02.2017 um 19:20 schrieb Andres Rodriguez:
Most of the traces have uniform format except for two of them. Having
all the traces match makes it simple to run awk on the ftrace output.
Signed-off-by: Andres Rodriguez <andre...@gmail.com>
Reviewed-by: Christian König <chri
m_ibs=%u",
If you have time for another patch please drop the pinters here as well.
Scheduler job, IBs and fence are all heavily reallocated (sometimes even
with a slab allocator). So the pointers are completely meaningless. The
adev pointer is superseded by the timeline name and context number
Am 23.02.2017 um 00:47 schrieb Andres Rodriguez:
This trace is intended to provide the required information to associate
the completion of an amdgpu_job with its corresponding dma_fence_*
tracepoints.
Signed-off-by: Andres Rodriguez
---
Am 23.02.2017 um 04:07 schrieb Alex Deucher:
On Wed, Feb 22, 2017 at 10:04 PM, Junwei Zhang <jerry.zh...@amd.com> wrote:
Signed-off-by: Junwei Zhang <jerry.zh...@amd.com>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
Reviewed-by: Christian König <chr
Am 13.02.2017 um 20:13 schrieb Tom St Denis:
Break out of outer loop properly.
Signed-off-by: Tom St Denis <tom.stde...@amd.com>
Reported-by: Dan Carpenter <dan.carpen...@oracle.com>
Reviewed-by: Christian König <christian.koe...@amd.com>.
---
drivers/gpu/drm/amd/amd
Yeah, Nicolai was faster than you.
Patch is already reviewed and should be committed.
Christian.
Am 14.02.2017 um 19:30 schrieb Felix Kuehling:
I think Nicolai beat you to this with his patch "drm/ttm: make
TTM_MAX_BO_PRIORITY unsigned".
On 17-02-14 01:03 PM, Kent Russell wrote:
Addresses
Uff, well that's quite a problem you ran into here.
IOMMU might not help here, cause when it would be the GPU we would have
made a mapping once and then the page in question is never unmapped (IIRC).
To confirm if it is really the GPU writing those bytes I would add a
trace point to
peof(y), \
^
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c:434:21: note: in expansion of macro
‘min’
bo->tbo.priority = min(bo->tbo.priority, TTM_MAX_BO_PRIORITY - 1);
^~~
Signed-off-by: Nicolai Hähnle <nicolai.haeh...@amd.com>
Reviewed-by: Christian Kö
T mappings exist, I get a WARN_ON (which
seems fairly straightforward) and occasionally also an RCU error
warning -- see the attached dmesg logs.
Regular application shutdown works fine, though.
Cheers,
Nicolai
On 08.02.2017 16:04, Christian König wrote:
Hi guys,
ok I finally found time to wri
Am 13.02.2017 um 17:28 schrieb Nicolai Hähnle:
On 09.02.2017 11:33, Samuel Pitoiset wrote:
Like ttm_bo_validate(), ttm_bo_init() might need to move BO and
the number of bytes moved by TTM should be reported. This can help
the throttle buffer migration mechanism to make a better decision.
Hmm,
Am 13.02.2017 um 18:32 schrieb Nicolai Hähnle:
On 13.02.2017 17:40, Nicolai Hähnle wrote:
On 13.02.2017 14:23, Christian König wrote:
From: Christian König <christian.koe...@amd.com>
We need to unmap the PRTs first and then free our scheduler entity.
Thanks for the quick fix! Both p
Am 13.02.2017 um 19:32 schrieb Samuel Pitoiset:
On 02/13/2017 07:19 PM, Nicolai Hähnle wrote:
On 13.02.2017 19:11, Samuel Pitoiset wrote:
On 02/13/2017 07:04 PM, Nicolai Hähnle wrote:
On 13.02.2017 18:49, Samuel Pitoiset wrote:
On 02/13/2017 05:25 PM, Nicolai Hähnle wrote:
On
for sriov_gpu_reset
no suspend invoked so after VF FLR by host, we just
call hw_init to reinitialize IPs.
Change-Id: If09cb42b09bee6acc84e6b239ef537ad5a3df41c
Signed-off-by: Monk Liu <monk@amd.com>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
Reviewed-by: Christian König &l
Am 09.02.2017 um 11:11 schrieb Nicolai Hähnle:
On 08.02.2017 16:04, Christian König wrote:
Hi guys,
ok I finally found time to write an unit test for this and hammered
out the last few bugs.
Seems to work fine on my Tonga now. Please note that this set is
based on "fix race in GEM V
NAK, we need to drop the reservation before calling copy_to_user().
Otherwise you run into a double locking error when copy_to_user() is
trying to copy to the BO in question.
Regards,
Christian.
Am 09.02.2017 um 23:28 schrieb Samuel Pitoiset:
Move amdgpu_bo_unreserve() outside of the
el.org
Reviewed-by: Christian König <christian.koe...@amd.com>.
---
drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
index 1cf1d9d..5b24e89 100644
--- a/drivers/gpu/dr
Am 09.02.2017 um 23:28 schrieb Samuel Pitoiset:
This removes code duplication.
Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com>
Reviewed-by: Christian König <christian.koe...@amd.com>.
---
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 8 +---
1 file changed, 1 ins
Am 10.02.2017 um 11:11 schrieb Samuel Pitoiset:
On 02/10/2017 03:55 AM, zhoucm1 wrote:
On 2017年02月10日 06:28, Samuel Pitoiset wrote:
Move amdgpu_bo_unreserve() outside of the switch. While we are
at it, add a missing break in the default case.
Signed-off-by: Samuel Pitoiset
Am 16.02.2017 um 10:24 schrieb Zhang, Jerry:
-Original Message-
From: Christian König [mailto:deathsim...@vodafone.de]
Sent: Thursday, February 16, 2017 17:12
To: Zhang, Jerry; amd-gfx@lists.freedesktop.org
Subject: Re: [PATCH 1/1] drm/amdgpu: export gfx capability by gpu info
Am
Am 16.02.2017 um 03:53 schrieb Junwei Zhang:
Change-Id: Ibf3e4dbb7deb83271adabc275c9b7a0e0652541a
Signed-off-by: Junwei Zhang
Complete NAK on this. The drm_amdgpu_capability structure is specific to
the pro driver.
The Vulkan stack on the other hand is supposed to work
ttm_bo_unreserve(>tbo);
You can just use amdgpu_bo_unreserve() here. With that fixed the whole
set is Reviewed-by: Christian König <christian.koe...@amd.com>.
Regards,
Christian.
*bo_ptr = bo;
trace_amdgpu_bo_create(bo);
__
Am 15.02.2017 um 18:28 schrieb Nicolai Hähnle:
Hi Christian,
On 15.02.2017 16:59, Christian König wrote:
Nicolai could you give that set a try?
It should fix your problems with PRT tear down on process crash.
Yes, it fixes those issues for me, thanks! The first two patches have
my R-b
Nicolai could you give that set a try?
It should fix your problems with PRT tear down on process crash.
Regards,
Christian.
Am 15.02.2017 um 15:57 schrieb Christian König:
From: Christian König <christian.koe...@amd.com>
When two VMs stop using PRT support at the same time we
Am 15.02.2017 um 19:09 schrieb Alex Xie:
Change-Id: Iaeeb253cc5c028c93c536ee6ea08213c7fa8f299
Signed-off-by: Alex Xie <alexbin@amd.com>
Ah, good catch. I've missed that one.
Reviewed-by: Christian König <christian.koe...@amd.com>.
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.
From: Christian König <christian.koe...@amd.com>
When two VMs stop using PRT support at the same time we might
not disable it in the right order otherwise.
Signed-off-by: Christian König <christian.koe...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 12 +---
1 fil
From: Christian König <christian.koe...@amd.com>
v2: new approach fixing this by registering a fence callback for
all users of the VM on teardown
Signed-off-by: Christian König <christian.koe...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgp
From: Christian König <christian.koe...@amd.com>
Don't assume kmalloc will always succeed.
Signed-off-by: Christian König <christian.koe...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 28 ++--
1 file changed, 22 insertions(+), 6 deletions(-)
From: Christian König <christian.koe...@amd.com>
Fixes "access stolen VRAM directly on KV/KB" otherwise that won't
work as expected with more than 4GB RAM.
Signed-off-by: Christian König <christian.koe...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c | 2 +-
1 fil
From: Christian König <christian.koe...@amd.com>
Fixes "access stolen VRAM directly on CZ", otherwise that won't
work as expected with more than 4GB RAM.
Signed-off-by: Christian König <christian.koe...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 2 +-
1 file chan
Am 13.02.2017 um 13:46 schrieb Tom St Denis:
Adds mullins, kabini, and hawaii ASICs to the library.
Signed-off-by: Tom St Denis <tom.stde...@amd.com>
Acked-by: Christian König <christian.koe...@amd.com>.
---
src/lib/asic/CMakeLists.txt | 3 +++
src/lib/asic/hawaii.
From: Christian König <christian.koe...@amd.com>
Those should be 64bit, even on a 32bit system.
Signed-off-by: Christian König <christian.koe...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/dri
From: Christian König <christian.koe...@amd.com>
We need to unmap the PRTs first and then free our scheduler entity.
Signed-off-by: Christian König <christian.koe...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Am 17.02.2017 um 00:21 schrieb Nicolai Hähnle:
On 17.02.2017 00:02, Alex Deucher wrote:
On Thu, Feb 16, 2017 at 5:55 PM, Nicolai Hähnle
wrote:
From: Nicolai Hähnle
When the fast blit path fails while attempting to move a buffer from
RAM
to VRAM,
(so they stay zero cleared).
Not sure what the UMD is expecting here.
Regards,
Christian.
Regards,
Jerry (Junwei Zhang)
Linux Base Graphics
SRDC Software Development
_
-Original Message-
From: Christian König [mailto:deathsim...@vodafone.de]
Sent
Am 17.02.2017 um 06:05 schrieb Junwei Zhang:
v2: move the config struct to drm_amdgpu_info_device
Signed-off-by: Junwei Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 7 +++
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 1 +
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
Am 18.01.2017 um 06:00 schrieb Xiangliang Yu:
Reboot process will call HW fini functions of IP blocks. For virt,
need to send event three before hw fini and send event four after
hw fini.
Signed-off-by: Xiangliang Yu <xiangliang...@amd.com>
Reviewed-by: Christian König <chri
Reviewed-by: Christian König <christian.koe...@amd.com> for the series.
Regards,
Christian.
Am 18.01.2017 um 03:40 schrieb Monk Liu:
Monk Liu (3):
drm/amdgpu:set cond_exec polling value to 1 in ring_init
drm/amdgpu:Preamble is forbid to be ignored in SRIOV
drm/amdgpu:insert
rmance.
BR Monk
----
*发件人:* Christian König <deathsim...@vodafone.de>
*发送时间:* 2017年1月18日 17:28:15
*收件人:* Liu, Monk; amd-gfx@lists.freedesktop.org
*主题:* Re: [PATCH] drm/amdgpu:guarantee 128dws between vm flush and IB
Am 18.01.2017 u
Am 19.01.2017 um 03:03 schrieb Xiangliang Yu:
Virtual display doesn't allocate amdgpu_encoder when initializing,
so will get invaild pointer if try to free amdgpu_encoder when
unloading driver.
Signed-off-by: Xiangliang Yu <xiangliang...@amd.com>
Acked-by: Christian König <chri
*发件人:* amd-gfx <amd-gfx-boun...@lists.freedesktop.org> 代表 Christian
König <deathsim...@vodafone.de>
*发送时间:* 2017年1月18日 20:52:14
*收件人:* Liu, Monk; amd-gfx@lists.freedesktop.org
*主题:* Re: 答复: [PATCH] drm/amdgpu:guarantee 128dws between vm f
Am 18.01.2017 um 12:42 schrieb Monk Liu:
previously we always insert 128nops behind vm_flush, which
may lead to DAMframe size above 256 dw and automatially aligned
to 512 dw.
now we calculate how many DWs already inserted after vm_flush
and make up for the reset to pad up to 128dws before
Acked-by: Christian König <christian.koe...@amd.com>.
Am 19.01.2017 um 11:56 schrieb Ding, Pixel:
Reviewed-by: Pixel Ding <pixel.d...@amd.com>
—
Sincerely Yours,
Pixel
On 19/01/2017, 5:46 PM, "amd-gfx on behalf of Xiangliang Yu"
<amd-gfx-boun...@lists.
Am 19.01.2017 um 14:51 schrieb Grazvydas Ignotas:
On Thu, Jan 19, 2017 at 11:10 AM, Christian König
<deathsim...@vodafone.de> wrote:
Am 18.01.2017 um 12:42 schrieb Monk Liu:
@@ -6743,6 +6741,15 @@ static void gfx_v8_ring_emit_cntxcntl(struct
amdgpu_ring *ring, uint32_t
:
if ring_write_multiple is organized in a separate patch, doesn't it
introduces an function that no client using it ??
fine by me although ...
BR Monk
*发件人:* Christian König <deathsim...@vodafone.de>
*发送时间:* 2017年1月12日 20
Patch #1 is Acked-by: Christian König <christian.koe...@amd.com>.
Patch #2 - #4 are Reviewed-by: Christian König <christian.koe...@amd.com>.
Patch #5: As Alex noted you need to update the dw estimation for
gfx_v8_ring_emit_cntxcntl() as well when you add this.
With that fix
viewed-by: Christian König <christian.koe...@amd.com>.
Regards,
Christian.
---
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
index fdc2cb5..52
-by: Nils Wallménius <nils.wallmen...@gmail.com>
Reviewed-by: Christian König <christian.koe...@amd.com>.
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 3 +--
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 21 +++--
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 7 +--
second time it is
good practice to add "v2" to the subject and something like "v2: changed
xyz" to the commit message.
Signed-off-by: Ding Pixel <pd...@amd.com>
Reviewed-by: Christian König <christian.koe...@amd.com>.
---
drivers/gpu/drm/amd/amdgpu/amdgp
Am 20.01.2017 um 04:45 schrieb zhoucm1:
some small nitpick...
On 2017年01月20日 06:53, Alex Xie wrote:
Verify the vender ID and driver name.
Open all AMDGPU devices.
Provide an option to open render node.
Tested as root: PASS
Tested as non-privileged user:
All tests failed as expected
, Monk
Sent: Thursday, January 19, 2017 10:39 PM
To: 'Christian König' <deathsim...@vodafone.de>; amd-gfx@lists.freedesktop.org
Subject: RE: [PATCH] drm/amdgpu:guarantee 128dws between vm flush and IB(v3)
Christian
I just found one issue in your previous patch ( the one you remove inserting
that fixed the patch is Reviewed-by: Christian König
<christian.koe...@amd.com>.
Regards,
Christian.
WREG32(mmAFMT_RAMP_CONTROL0 + offset, 0x00FF);
WREG32(mmAFMT_RAMP_CONTROL1 + offset, 0x007F);
WREG32(mmAFMT_RAMP_CONTROL2 + offset, 0x0001);
Am 22.08.2016 um 02:41 schrieb Edward O'Callaghan:
On 08/22/2016 10:38 AM, Alexandre Demers wrote:
Fixed indentation for readability.
Signed-off-by: Alexandre Demers <alexandre.f.dem...@gmail.com>
Reviewed-by: Edward O'Callaghan <funfunc...@folklore1984.net>
Reviewed-by: Chr
Am 16.08.2016 um 17:56 schrieb Marek Olšák:
On Tue, Aug 16, 2016 at 5:27 PM, Christian König
<deathsim...@vodafone.de> wrote:
Hi Marek,
I'm already working on this.
My current approach is to use a custom BO manager for VRAM with TTM and so
split allocations into chunks of 4MB.
Lar
exporting it, I think that
should work.
Regards,
Felix
On 16-08-17 02:58 AM, Christian König wrote:
One question: Will it be possible to share these split BOs as dmabufs?
In theory yes, in practice I'm not sure.
DMA-bufs are designed around scatter gather tables, those fortunately
support
Well, usually they are just the recommended settings from the hardware
team which try to fix or improve things by changing the default values
for the registers.
I work for AMD and sometimes it isn't clear to me either what those
changes are good for. E.g. I would need to dig though a whole
Am 01.08.2016 um 15:59 schrieb Alex Deucher:
On Mon, Aug 1, 2016 at 1:27 AM, Flora Cui <flora@amd.com> wrote:
I'll push if no objection
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
Sorry for the delay, been on vacation last week.
Patch is Reviewed-by: Chr
Reviewed-by: Christian König <christian.koe...@amd.com> for the whole
series.
Regards,
Christian.
Am 03.08.2016 um 09:51 schrieb Chunming Zhou:
VCE is always busy is since RB1_BUSY is always busy, now remove it.
And enable VCE soft reset.
Chunming Zhou (2):
drm/amdgpu: fix harvest
Am 25.02.2017 um 18:28 schrieb Andres Rodriguez:
On Feb 25, 2017 4:40 AM, "Christian König" <deathsim...@vodafone.de
<mailto:deathsim...@vodafone.de>> wrote:
Am 24.02.2017 um 19:20 schrieb Andres Rodriguez:
This information is intended to pro
Am 02.03.2017 um 09:02 schrieb Andres Rodriguez:
Add amdgpu_queue_mgr, a mechanism that allows disjointing usermode's
ring ids from the kernel's ring ids.
The queue manager maintains a per-file descriptor map of user ring ids
to amdgpu_ring pointers. Once a map is created it is permanent (this
Am 01.03.2017 um 18:24 schrieb Andres Rodriguez:
On 2017-03-01 12:13 PM, Andres Rodriguez wrote:
On 3/1/2017 6:42 AM, Christian König wrote:
Patches #1-#14 are Acked-by: Christian König
<christian.koe...@amd.com>.
Patch #15:
Not sure if that is a good idea or not, need to take a
Am 26.02.2017 um 22:35 schrieb Daniel Vetter:
On Sun, Feb 19, 2017 at 10:32:43AM +0100, Christian König wrote:
Am 18.02.2017 um 23:50 schrieb Nicolai Hähnle:
From: Nicolai Hähnle <nicolai.haeh...@amd.com>
The vm fault handler relies on the fact that the VMA owns a reference
to the BO. H
Am 24.08.2016 um 11:33 schrieb zhoucm1:
On 2016年08月18日 16:15, Christian König wrote:
NAK to the whole approach.
If we want to share dependencies in the form of fences between
devices and especially processes we must use android fences and the
sync file framework.
Then if we want to share
fresh new, and Assume DE is still in
VMSWITCH-TO-P2 stage (P1/P2 means process1/process2), since this time vm page
table of P2 yet not been binding to VMID3, if CE is already running in IB
belongs to P2, why we never meet vm fault ?
Thanks for your time!
BR Monk
-Original Mess
|
> DE CE
> Still assume the ring buffer is fresh new, and Assume DE is still in
VMSWITCH-TO-P2 stage (P1/P2 means process1/process2), since this time
vm page table of P2 yet not been binding to VMID3, if CE is already
running in IB bel
Am 24.08.2016 um 12:01 schrieb zhoucm1:
On 2016年08月24日 17:39, Christian König wrote:
Am 24.08.2016 um 11:33 schrieb zhoucm1:
On 2016年08月18日 16:15, Christian König wrote:
NAK to the whole approach.
If we want to share dependencies in the form of fences between
devices and especially
Yeah, I wouldn't mind a patch renaming ctx to fence_context in the job
and rign structure.
This way we make it clear what is used here.
Christian.
Am 25.08.2016 um 05:38 schrieb Liu, Monk:
Sorry,
I don't mean ctx-id, I'm talking about "job->ctx", which is a atomic_64t value,
and it is
Well userspace is allowed to send any number of IBs down to this if I
remember correctly.
So we clearly need something depending on the number of IBs or reject
submissions with to many IBs earlier in the CS.
Otherwise we clearly open up a possible problem where userspace can
trigger a ring
buffer is only 4kb size
-Original Message-
From: Christian König [mailto:deathsim...@vodafone.de]
Sent: Thursday, August 25, 2016 4:12 PM
To: Liu, Monk <monk@amd.com>; amd-gfx@lists.freedesktop.org
Subject: Re: [PATCH 2/2] drm/amdgpu:256dw is enough for one ib_schedule
Well use
Reviewed-by: Christian König <christian.koe...@amd.com> as well.
Do we have any requirement to support ring 2 and 3 in the near future or
was this set just for cleanup?
Regards,
Christian.
Am 25.08.2016 um 02:03 schrieb Qu, Jim:
These series Reivewed-by: JimQu <jim...@amd.com>
perly clean up this feature while
maintaining backward and forward compatibility.
Regards,
Christian.
BR Monk
BR Monk
-Original Message-
From: Bas Nieuwenhuizen [mailto:b...@basnieuwenhuizen.nl]
Sent: Friday, September 02, 2016 12:09 AM
To: Liu, Monk <monk....@amd.com&
Am 06.09.2016 um 11:53 schrieb zhoucm1:
On 2016年09月06日 17:41, Christian König wrote:
From: Christian König <christian.koe...@amd.com>
We don't really need the GTT table any more most of the time.
Why? I thought GTT bo is always needed to be bound when GPU is trying
to access it, d
1) Is that my patch must work with current MESA driver ? (even MESA doesn't
change any bit of its logic) ?
Yes and it must work with all old versions of Mesa. This is usual the
tricky part to get right and most of my concern right now.
2) is that my patch can let kmd go to a new path (using
From: Christian König <christian.koe...@amd.com>
Otherwise we run into problems on 32bit systems with more than 4GB GART.
Signed-off-by: Christian König <christian.koe...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 10 +-
1 file changed, 5 insertions(+), 5 deleti
From: Christian König <christian.koe...@amd.com>
We don't really need the GTT table any more most of the time. So bind it
only on demand.
Signed-off-by: Christian König <christian.koe...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h| 1 +
drivers/gpu/drm/amd/amdgpu
Denis <tom.stde...@amd.com>
Reviewed-by: Christian König <christian.koe...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
index a6b76170b9c5..
Am 07.09.2016 um 09:54 schrieb Huang Rui:
On Wed, Sep 07, 2016 at 09:12:29AM +0200, Christian König wrote:
Am 07.09.2016 um 07:24 schrieb Huang Rui:
In previous drm_global_item_ref, there are two times of writing
ref->object if item->refcount is 0. So this patch does a minor update
Am 08.09.2016 um 09:35 schrieb Chris Wilson:
On Thu, Sep 08, 2016 at 03:22:48PM +0800, Huang Rui wrote:
On Thu, Sep 08, 2016 at 02:36:06PM +0800, Chris Wilson wrote:
On Wed, Sep 07, 2016 at 10:07:57PM -0400, Huang Rui wrote:
In previous drm_global_item_ref, there are two times of writing
times of writing ref->object. It can
make the code logic more clearly.
Signed-off-by: Huang Rui <ray.hu...@amd.com>
Reviewed-by: Christian König <christian.koe...@amd.com>.
---
Changes from V2 -> V3:
- Use duplicate mutex release to avoid "goto" in non-error patch.
Am 04.09.2016 um 04:36 schrieb Edward O'Callaghan:
Save a few clocks by replacing calls to kmalloc followed by memcpy
with a single call to kmemdup.
Signed-off-by: Edward O'Callaghan <funfunc...@folklore1984.net>
Reviewed-by: Christian König <christian.koe...@amd.com>.
---
dri
ddress given.
I think we should mirror that here or otherwise might run into problems
calling kunmap() more often than kmap().
With that fixed both patches are Reviewed-by: Christian König
<christian.koe...@amd.com>.
Regards,
Christian.
+ amdgpu_
From: Christian König <christian.koe...@amd.com>
As last resort try to evict BOs from the current working set into other
memory domains. This effectively prevents command submission failures when
VM page tables have been swapped out.
Signed-off-by: Christian König <christian.koe..
From: Christian König <christian.koe...@amd.com>
All other errors can't be fixed by using a different memory domain.
Signed-off-by: Christian König <christian.koe...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
ursday, September 01, 2016 4:19 PM
To: Liu, Monk <monk@amd.com>
Cc: Christian König <deathsim...@vodafone.de>; amd-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/amdgpu:implement CONTEXT_CONTROL (v3)
On Thu, Sep 1, 2016 at 9:37 AM, Liu, Monk <monk@amd.com> wrote:
-Or
Am 30.08.2016 um 10:54 schrieb Chunming Zhou:
Change-Id: I8daf687d43b51d69f9be36cae8b265deb88e5754
Signed-off-by: Chunming Zhou
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h| 15 +++
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 +++
Am 30.08.2016 um 11:59 schrieb Chunming Zhou:
Change-Id: I3a59f602a4d5ec42c8c184daa14eb8194b0dab9e
Signed-off-by: Chunming Zhou <david1.z...@amd.com>
Reviewed-by: Christian König <christian.koe...@amd.com>.
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 5 +++--
1 file changed,
Am 30.08.2016 um 03:49 schrieb Flora Cui:
On Tue, Aug 30, 2016 at 09:57:56AM +0900, Michel Dänzer wrote:
On 29/08/16 10:47 PM, Deucher, Alexander wrote:
From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf
Of Christian König
Sent: Monday, August 29, 2016 5:20 AM
I still
Am 30.08.2016 um 03:21 schrieb jimqu:
Set up the VCE clock no matter dpm is enabled or not.
NAK, if DPM or powerplay is enabled you are totally confusing it by
messing with the clocks manually.
Christian.
Change-Id: I68e315f8b62c6e3a8636bc5e14036ecc11d980b4
Signed-off-by: JimQu
Am 30.08.2016 um 10:54 schrieb Chunming Zhou:
Change-Id: I5dc3f9003e706d3a142aadb559bd85f6e0f2a03f
Signed-off-by: Chunming Zhou
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h| 4
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 +++
Am 09.09.2016 um 15:41 schrieb Deucher, Alexander:
-Original Message-
From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf
Of Christian König
Sent: Friday, September 09, 2016 7:24 AM
To: Zhang, Hawking; Koenig, Christian; Cui, Flora; Zhou, David(ChunMing);
amd-gfx
From: Christian König <christian.koe...@amd.com>
Only allocate address space when we really need it.
Signed-off-by: Christian König <christian.koe...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/Makefile | 3 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 4 +-
drivers
From: Christian König <christian.koe...@amd.com>
An invalid offset to be used by custom VRAM/GGT manager when we
don't have an offset for an BO.
Signed-off-by: Christian König <christian.koe...@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 1 +
drivers/gpu/dr
Am 09.09.2016 um 15:54 schrieb Emil Velikov:
On 9 September 2016 at 12:24, Christian König <deathsim...@vodafone.de> wrote:
Hi Hawking,
Removing the flag will make ttm_mem_type_from_place skip counting the
corresponding placement and thus have impact on mem region create and bo
mo
Am 12.09.2016 um 10:36 schrieb Edward O'Callaghan:
This series is,
Reviewed-by: Edward O'Callaghan <funfunc...@folklore1984.net>
Acked-by: Christian König <christian.koe...@amd.com> for the series.
On 09/12/2016 06:22 PM, Rex Zhu wrote:
As tonga/fiji/polaris10/11 use ppt tab
A few coding style issues, but nothing major.
Taking patch #7 as an example, but most of this applies to the rest as well:
+/*sviLoadLIneEn, SviLoadLineVddC, TDC_VDDC_ThrottleReleaseLimitPerc,
TDC_MAWt, TdcWaterfallCtl, DTEAmbientTempBase, DisplayCac, BAPM_TEMP_GRADIENT */
That line looks
Thanks for that info, I was busy most of the day bisecting this
regression as well.
Yeah, the bug is rather obvious, there is a "return 0;" in the good case
missing here.
So after loading the firmware we release it again. I will hack together
a patch, just give me a minute.
Christian.
Am
}
Best Regards
Rex
----
*From:* Christian König <deathsim...@vodafone.de>
*Sent:* Friday, September 9, 2016 10:23:26 PM
*To:* Zhu, Rex; amd-gfx@lists.freedesktop.org
*Subject:* Re: [PATCH 0/9] misc patches related to powerplay
Patch #1-#7 and #9 are Acked-by: Christian Kö
101 - 200 of 9711 matches
Mail list logo