RE: [PATCH] MAINTAINERS: Drop Rex Zhu for amdgpu powerplay

2019-11-24 Thread Quan, Evan
Reviewed-by: Evan Quan 

> -Original Message-
> From: amd-gfx  On Behalf Of Alex
> Deucher
> Sent: Saturday, November 23, 2019 3:19 AM
> To: amd-gfx@lists.freedesktop.org; dri-de...@lists.freedesktop.org
> Cc: Deucher, Alexander 
> Subject: [PATCH] MAINTAINERS: Drop Rex Zhu for amdgpu powerplay
> 
> No longer works on the driver.
> 
> Signed-off-by: Alex Deucher 
> ---
>  MAINTAINERS | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/MAINTAINERS b/MAINTAINERS
> index b63c291ad029..d518588b9879 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -856,7 +856,6 @@ S:Maintained
>  F:   drivers/i2c/busses/i2c-amd-mp2*
> 
>  AMD POWERPLAY
> -M:   Rex Zhu 
>  M:   Evan Quan 
>  L:   amd-gfx@lists.freedesktop.org
>  S:   Supported
> --
> 2.23.0
> 
> ___
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.free
> desktop.org%2Fmailman%2Flistinfo%2Famd-
> gfxdata=02%7C01%7Cevan.quan%40amd.com%7Ca64ca85a7c4a41c2d5
> 2408d76f80d191%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637
> 100471424667152sdata=IlnGhFH1jHLTFk6NfLsZNGI%2FC7QNcYrER7TGG
> uMbVE4%3Dreserved=0
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Re: [PATCH] drm/amdgpu: always reset asic when going into suspend

2019-11-24 Thread Daniel Drake
On Fri, Nov 22, 2019 at 11:32 PM Alex Deucher  wrote:
> Do these patches help?
> https://patchwork.freedesktop.org/patch/341775/
> https://patchwork.freedesktop.org/patch/341968/

Unfortunately not. The original issue still exists (dead gfx after
resume from s2idle) and also when I trigger execution of the suspend
or runtime suspend routines the power usage increases around 1.5W as
before.

Have you confirmed that amdgpu s2idle is working on platforms you have in hand?

Thanks
Daniel
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Re: [PATCH] drm/amd/display: re-enable wait in pipelock, but add timeout

2019-11-24 Thread Ernst Sjöstrand
The same bug is listed twice. Did you mean a third bug?


Den tors 21 nov. 2019 kl 00:25 skrev Alex Deucher :
>
> Ping?
>
> On Fri, Nov 15, 2019 at 11:01 AM Alex Deucher  wrote:
> >
> > Removing this causes hangs in some games, so re-add it, but add
> > a timeout so we don't hang while switching flip types.
> >
> > Bug: https://bugzilla.kernel.org/show_bug.cgi?id=205169
> > Bug: https://bugs.freedesktop.org/show_bug.cgi?id=112266
> > Bug: https://bugzilla.kernel.org/show_bug.cgi?id=205169
> > Signed-off-by: Alex Deucher 
> > ---
> >  .../drm/amd/display/dc/dcn20/dcn20_hwseq.c| 19 +++
> >  1 file changed, 19 insertions(+)
> >
> > diff --git a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c 
> > b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c
> > index 0046a099c9e9..120e62c5193c 100644
> > --- a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c
> > +++ b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c
> > @@ -1033,6 +1033,25 @@ void dcn20_pipe_control_lock(
> > if (pipe->plane_state != NULL)
> > flip_immediate = pipe->plane_state->flip_immediate;
> >
> > +   if (flip_immediate && lock) {
> > +   const int TIMEOUT_FOR_FLIP_PENDING = 10;
> > +   int i;
> > +
> > +   for (i = 0; i < TIMEOUT_FOR_FLIP_PENDING; ++i) {
> > +   if 
> > (!pipe->plane_res.hubp->funcs->hubp_is_flip_pending(pipe->plane_res.hubp))
> > +   break;
> > +   udelay(1);
> > +   }
> > +
> > +   if (pipe->bottom_pipe != NULL) {
> > +   for (i = 0; i < TIMEOUT_FOR_FLIP_PENDING; ++i) {
> > +   if 
> > (!pipe->bottom_pipe->plane_res.hubp->funcs->hubp_is_flip_pending(pipe->bottom_pipe->plane_res.hubp))
> > +   break;
> > +   udelay(1);
> > +   }
> > +   }
> > +   }
> > +
> > /* In flip immediate and pipe splitting case, we need to use GSL
> >  * for synchronization. Only do setup on locking and on flip type 
> > change.
> >  */
> > --
> > 2.23.0
> >
> ___
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Re: [PATCH 1/1] amdgpu: Enable KFD on POWER systems

2019-11-24 Thread Timothy Pearson
Sorry for the spam -- I had thought I was signed up for this list but 
apparently was not, and resent a couple times.

- Original Message -
> From: "Timothy Pearson" 
> To: "amd-gfx" 
> Sent: Sunday, November 24, 2019 1:10:52 PM
> Subject: [PATCH 1/1] amdgpu: Enable KFD on POWER systems

> KFD has been verified to function on POWER systems (Talos II / Vega 64).
> It should be available as a kernel configuration option on these systems.
> ---
> drivers/gpu/drm/amd/amdkfd/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdkfd/Kconfig
> b/drivers/gpu/drm/amd/amdkfd/Kconfig
> index a1a35d4d594b..ba0e68057a89 100644
> --- a/drivers/gpu/drm/amd/amdkfd/Kconfig
> +++ b/drivers/gpu/drm/amd/amdkfd/Kconfig
> @@ -5,7 +5,7 @@
> 
> config HSA_AMD
>   bool "HSA kernel driver for AMD GPU devices"
> - depends on DRM_AMDGPU && (X86_64 || ARM64)
> + depends on DRM_AMDGPU && (X86_64 || ARM64 || PPC64)
>   imply AMD_IOMMU_V2 if X86_64
>   select MMU_NOTIFIER
>   help
> --
> 2.20.1
> ___
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

[PATCH 1/1] amdgpu: Enable KFD on POWER systems

2019-11-24 Thread Timothy Pearson
KFD has been verified to function on POWER systems (Talos II / Vega 64).
It should be available as a kernel configuration option on these systems.
---
 drivers/gpu/drm/amd/amdkfd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdkfd/Kconfig 
b/drivers/gpu/drm/amd/amdkfd/Kconfig
index a1a35d4d594b..ba0e68057a89 100644
--- a/drivers/gpu/drm/amd/amdkfd/Kconfig
+++ b/drivers/gpu/drm/amd/amdkfd/Kconfig
@@ -5,7 +5,7 @@
 
 config HSA_AMD
bool "HSA kernel driver for AMD GPU devices"
-   depends on DRM_AMDGPU && (X86_64 || ARM64)
+   depends on DRM_AMDGPU && (X86_64 || ARM64 || PPC64)
imply AMD_IOMMU_V2 if X86_64
select MMU_NOTIFIER
help
-- 
2.20.1

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

[PATCH 1/1] amdgpu: Enable KFD on POWER systems

2019-11-24 Thread Timothy Pearson
KFD has been verified to function on POWER systems (Talos II / Vega 64).
It should be available as a kernel configuration option on these systems.
---
 drivers/gpu/drm/amd/amdkfd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdkfd/Kconfig 
b/drivers/gpu/drm/amd/amdkfd/Kconfig
index a1a35d4d594b..ba0e68057a89 100644
--- a/drivers/gpu/drm/amd/amdkfd/Kconfig
+++ b/drivers/gpu/drm/amd/amdkfd/Kconfig
@@ -5,7 +5,7 @@
 
 config HSA_AMD
bool "HSA kernel driver for AMD GPU devices"
-   depends on DRM_AMDGPU && (X86_64 || ARM64)
+   depends on DRM_AMDGPU && (X86_64 || ARM64 || PPC64)
imply AMD_IOMMU_V2 if X86_64
select MMU_NOTIFIER
help
-- 
2.20.1
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

[PATCH 1/1] amdgpu: Enable KFD on POWER systems

2019-11-24 Thread Timothy Pearson
KFD has been verified to function on POWER systems (Talos II / Vega 64).
It should be available as a kernel configuration option on these systems.

Signed-off-by: Timothy Pearson 
---
 drivers/gpu/drm/amd/amdkfd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdkfd/Kconfig 
b/drivers/gpu/drm/amd/amdkfd/Kconfig
index a1a35d4d594b..ba0e68057a89 100644
--- a/drivers/gpu/drm/amd/amdkfd/Kconfig
+++ b/drivers/gpu/drm/amd/amdkfd/Kconfig
@@ -5,7 +5,7 @@
 
 config HSA_AMD
bool "HSA kernel driver for AMD GPU devices"
-   depends on DRM_AMDGPU && (X86_64 || ARM64)
+   depends on DRM_AMDGPU && (X86_64 || ARM64 || PPC64)
imply AMD_IOMMU_V2 if X86_64
select MMU_NOTIFIER
help
-- 
2.20.1
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx