reset the asic if adapter is not powerdown when doing freeze()
thaw() and restore(), in order to get a valid state of adapter.
Change-Id: Ibb03ab3c2ce6ef3c83affbe767308dc22474f563
Signed-off-by: JimQu
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 19 +--
drivers/gpu/drm/amd/am
On 09/03/2016 01:18 AM, Alex Deucher wrote:
> Ported from nouveau.
>
> v2: re-enable runtime autosuspend in the error case
>
> Signed-off-by: Alex Deucher
> ---
> drivers/gpu/drm/radeon/radeon_fb.c | 28
> 1 file changed, 28 insertions(+)
>
> diff --git a/drivers
On 09/03/2016 12:49 PM, Edward O'Callaghan wrote:
> Signed-off-by: Edward O'Callaghan
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c| 32
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h| 3 ++-
> drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c | 2
Signed-off-by: Edward O'Callaghan
---
drivers/gpu/drm/amd/amdkfd/kfd_dbgmgr.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_dbgmgr.c
b/drivers/gpu/drm/amd/amdkfd/kfd_dbgmgr.c
index 56d6763..8a26d5a 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_dbgmgr.c
+++ b/dr
Signed-off-by: Edward O'Callaghan
---
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c| 32 ---
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h| 3 ++-
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c | 2 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c | 2 +-
d
Signed-off-by: Edward O'Callaghan
---
drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c
b/drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c
index 9beae87..fa23342 100644
--- a/drivers/gp
The following series applies on top of either master or the drm-next-4.9
branch. Apart from the couple of misc fixes here we port out the
'get_local_mem_info()' helper out of the ROCm kernel patch mountain
and hook that up so to be mainlined.
Edward O'Callaghan (4):
[PATCH 1/4] amdkfd: Tidy up
Dereference the one time and unpack the lower and upper 32bit
portions with the proper kernel helper macros.
Signed-off-by: Edward O'Callaghan
---
drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_
From: Jordan Lazare
Reviewed-by: Alex Deucher
Signed-off-by: Jordan Lazare
Cc: sta...@vger.kernel.org
Signed-off-by: Alex Deucher
---
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/amdgp
On Mon, 2016-08-22 at 18:14 +0800, Qiang Yu wrote:
> Hi guys,
>
> This patch set is for adding DRI2 page flip support to modesetting
> driver. I mainly take reference of amdgpu DDX and reuse present
> page flip code in the modesetting driver.
remote: I: patch #106902 updated using rev
a586bf9ccf
Ported from nouveau.
v2: re-enable runtime autosuspend in the error case
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/radeon/radeon_fb.c | 28
1 file changed, 28 insertions(+)
diff --git a/drivers/gpu/drm/radeon/radeon_fb.c
b/drivers/gpu/drm/radeon/radeon_fb.c
Ported from nouveau.
v2: re-enable runtime autosuspend in the error case
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | 28
1 file changed, 28 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c
b/drivers/gpu/drm/amd/amdgpu/
On Thu, Sep 1, 2016 at 2:22 AM, jimqu wrote:
> reset the asic if adapter is not powerdown when doing freeze()
> thaw() and restore(), in order to get a valid state of adapter.
>
> Change-Id: Id2e4587c06b556eb651ab9277ffc903f780dea56
> Signed-off-by: JimQu
> ---
> drivers/gpu/drm/amd/amdgpu/amdgp
Am 02.09.2016 um 15:58 schrieb Deucher, Alexander:
-Original Message-
From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf
Of Tom St Denis
Sent: Friday, September 02, 2016 8:49 AM
To: amd-gfx@lists.freedesktop.org
Subject: Merge get_rptr and get_wptr functions
These pat
> -Original Message-
> From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf
> Of Tom St Denis
> Sent: Friday, September 02, 2016 8:49 AM
> To: amd-gfx@lists.freedesktop.org
> Subject: Merge get_rptr and get_wptr functions
>
> These patches merge the ring get_rptr and get_
> -Original Message-
> From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf
> Of Michel Dänzer
> Sent: Friday, September 02, 2016 6:04 AM
> To: amd-gfx@lists.freedesktop.org
> Subject: [PATCH xf86-video-ati 4/4] Make TearFree effective with PRIME
> slave scanout
>
> From:
> -Original Message-
> From: Michel Dänzer [mailto:mic...@daenzer.net]
> Sent: Thursday, September 01, 2016 9:47 PM
> To: Alex Deucher
> Cc: amd-gfx list; Deucher, Alexander
> Subject: Re: [PATCH 03/10] drm/amdgpu: handle runtime pm in fbcon
>
> On 02/09/16 05:44 AM, Alex Deucher wrote:
>
> -Original Message-
> From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf
> Of Qu, Jim
> Sent: Thursday, September 01, 2016 9:07 PM
> To: Alex Deucher
> Cc: amd-gfx list
> Subject: 答复: [PATCH] drm/amd/amdgpu: S4 issue for amdgpu
>
> Hi Alex:
>
> Weird, last day, I used
On Fri, Sep 2, 2016 at 12:56 PM, Christian König
wrote:
> Am 02.09.2016 um 12:33 schrieb Marek Olšák:
>>
>> On Fri, Sep 2, 2016 at 9:38 AM, Christian König
>> wrote:
>>>
>>> Am 01.09.2016 um 16:33 schrieb Deucher, Alexander:
>>>
return r; > + > + return -ENOMEM; > +}
>>>
>>> Unreachable code
Signed-off-by: Tom St Denis
---
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 17 +++--
1 file changed, 7 insertions(+), 10 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
index 84ad13ec3771..926fd570f0ed 100644
--- a/drivers/gpu/drm
These patches merge the ring get_rptr and get_wptr functions
from each of the GFX drivers between gfx and compute rings.
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Signed-off-by: Tom St Denis
---
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 15 +--
1 file changed, 5 insertions(+), 10 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
index 02056762ea06..d8b17745bc19 100644
--- a/drivers/gpu/drm/a
Signed-off-by: Tom St Denis
---
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 11 +++
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
index 63ca77937714..8cc5025d8a4d 100644
--- a/drivers/gpu/drm/amd/am
Signed-off-by: Tom St Denis
---
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 11 +++
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
index 99afab8113f1..84ad13ec3771 100644
--- a/drivers/gpu/drm/amd/am
Signed-off-by: Tom St Denis
---
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 31 +++
1 file changed, 11 insertions(+), 20 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
index 8cc5025d8a4d..73685a4816fe 100644
--- a/
Signed-off-by: Tom St Denis
---
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 11 +++
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
index c14ba7079ea3..02056762ea06 100644
--- a/drivers/gpu/drm/amd/am
I'll submit a few new patches merging them in gfx 6/7/8 individually.
As for refactoring not really. A static check would only work if all of the
code were in one unit. When I was adding the config data to debugfs I just
grep'ed manually to discover that they're not really read anywhere in th
The "adev" variable must be in scope when using the RREG32/WREG32 (and
derivatives) macros.
Tom
From: Edward O'Callaghan
Sent: Thursday, September 1, 2016 23:22
To: Tom St Denis; amd-gfx@lists.freedesktop.org
Cc: StDenis, Tom
Subject: Re: [PATCH 3/3] drm/amd/a
We could merge those to reduce the # of LOC.
Yes, please do so if you have time.
BTW: Do you know any tool/hack/whatever to find unused structure
members? E.g. members which are never accessed or only set but never read?
We seem to have quite a number of those in amdgpu, radeon as well as
Nope your eyes are fine. Note that the same pattern exists in gfx_v8_0.c as
well. I guess different ring struct pointers are passed so they're not talking
to the same ring.
We could merge those to reduce the # of LOC.
Tom
From: Christian König
Sent: Thurs
Am 02.09.2016 um 12:33 schrieb Marek Olšák:
On Fri, Sep 2, 2016 at 9:38 AM, Christian König wrote:
Am 01.09.2016 um 16:33 schrieb Deucher, Alexander:
return r; > + > + return -ENOMEM; > +}
Unreachable code. Other than that looks good.
Ups, indeed just a merge error.
With that fixed: Revie
On Fri, Sep 2, 2016 at 9:38 AM, Christian König wrote:
> Am 01.09.2016 um 16:33 schrieb Deucher, Alexander:
>
>> return r; > + > + return -ENOMEM; > +}
>
> Unreachable code. Other than that looks good.
>
>
> Ups, indeed just a merge error.
>
> With that fixed: Reviewed-by: Alex Deucher
>
> Thanks
From: Michel Dänzer
Will be needed higher up by the following changes. No functional change.
Signed-off-by: Michel Dänzer
---
src/radeon_kms.c | 42 +-
1 file changed, 21 insertions(+), 21 deletions(-)
diff --git a/src/radeon_kms.c b/src/radeon_kms.c
in
From: Michel Dänzer
While we're at it, fix leaking the memory allocated for xRectangles.
Signed-off-by: Michel Dänzer
---
src/radeon_kms.c | 73 +---
1 file changed, 43 insertions(+), 30 deletions(-)
diff --git a/src/radeon_kms.c b/src/radeo
From: Michel Dänzer
Copy the damaged areas which are still valid in the other scanout pixmap
from there, then only copy the remaining damaged area from the screen
pixmap.
This is slightly more efficient, and will be significantly more efficient
with the following change.
Signed-off-by: Michel D
From: Michel Dänzer
TearFree can now prevent tearing with any possible display
configuration.
Note that with PRIME slave scanout, there may still be inter-GPU tearing
if the primary GPU uses a different driver.
Signed-off-by: Michel Dänzer
---
src/drmmode_display.c | 33 ---
src/
Am 01.09.2016 um 16:33 schrieb Deucher, Alexander:
>return r; > + > + return -ENOMEM; > +}
Unreachable code. Other than that looks good.
Ups, indeed just a merge error.
With that fixed: Reviewed-by: Alex Deucher
Thanks for the review, I've just pushed the resulting patches to
amd-staging-4
Hi Alex:
The atombios issue seems to be caused by my test driver. and I reinstall a
clear driver without atombios_fini/init. it is OK for S4. So please ignore the
atombios_fini/init functions in the patch, I will delete them if get RB.
Thanks
JimQu
发件人:
38 matches
Mail list logo