Re: [PATCH 1/4] drm/amdgpu: add GFX_CP_LS flag to Arcturus

2019-08-09 Thread Wang, Kevin(Yang)
Reviewed-by: Kevin Wang From: amd-gfx on behalf of Le Ma Sent: Friday, August 9, 2019 7:26 PM To: amd-gfx@lists.freedesktop.org Cc: Ma, Le Subject: [PATCH 1/4] drm/amdgpu: add GFX_CP_LS flag to Arcturus Missed AMD_CG_SUPPORT_GFX_CP_LS accidently when commit

Re: [PATCH 1/1] drm/amdgpu/powerplay: update Arcturus smu version in new place

2019-08-09 Thread Wang, Kevin(Yang)
Reviewed-by: Kevin Wang Best Regards, Kevin From: amd-gfx on behalf of Le Ma Sent: Friday, August 9, 2019 7:27 PM To: amd-gfx@lists.freedesktop.org Cc: Ma, Le Subject: [PATCH 1/1] drm/amdgpu/powerplay: update Arcturus smu version in new place Follow patch

Re: [PATCH 3/4] drm/amdgpu: add mmhub clock gating for Arcturus

2019-08-09 Thread Wang, Kevin(Yang)
Reviewed-by: Kevin Wang From: amd-gfx on behalf of Le Ma Sent: Friday, August 9, 2019 7:26 PM To: amd-gfx@lists.freedesktop.org Cc: Ma, Le Subject: [PATCH 3/4] drm/amdgpu: add mmhub clock gating for Arcturus Add 2 mmhub instances CG Change-Id:

[PATCH 2/4] drm/amdgpu: increase CGCG gfx idle threshold for Arcturus

2019-08-09 Thread Le Ma
Follow the hw spec, and no need to consider gfxoff on Arcturus Change-Id: Ib9cad79b1b9c096014447fc0a7d29cdb594e15e3 Signed-off-by: Le Ma --- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c

[PATCH 1/1] drm/amdgpu/powerplay: update Arcturus smu version in new place

2019-08-09 Thread Le Ma
Follow patch below: drm/amd/powerplay: re-define smu interface version for smu v11 Change-Id: Id78651209adc7a094f4c19ba965dcded37dd3ba7 Signed-off-by: Le Ma --- drivers/gpu/drm/amd/powerplay/arcturus_ppt.c | 1 - drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if_arcturus.h |

[PATCH 4/4] drm/amdgpu: enable mmhub clock gating for Arcturus

2019-08-09 Thread Le Ma
Init MC_MGCG/LS flag. Also apply to athub CG. Change-Id: Ic00cb8e6d69eb75dd32f34f778352cee93063ee0 Signed-off-by: Le Ma --- drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c | 1 - drivers/gpu/drm/amd/amdgpu/soc15.c | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git

[PATCH 1/4] drm/amdgpu: add GFX_CP_LS flag to Arcturus

2019-08-09 Thread Le Ma
Missed AMD_CG_SUPPORT_GFX_CP_LS accidently when commit patch before drm/amdgpu: enable gfx clock gating for Arcturus Change-Id: I9d70319dd07f7d642416cb260f9f5b3342b6f3f2 Signed-off-by: Le Ma --- drivers/gpu/drm/amd/amdgpu/soc15.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 3/4] drm/amdgpu: add mmhub clock gating for Arcturus

2019-08-09 Thread Le Ma
Add 2 mmhub instances CG Change-Id: I76ab7a50cd9a40de3022f733787b42e4e5c4dbf5 Signed-off-by: Le Ma --- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 12 +-- drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c | 126 drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.h | 3 + 3 files

RE: [PATCH] drm/amdgpu: remove ras block's feature status info in sysfs

2019-08-09 Thread Zhang, Hawking
Reviewed-by: Hawking Zhang Regards, Hawking -Original Message- From: amd-gfx On Behalf Of Tao Zhou Sent: 2019年8月9日 17:51 To: amd-gfx@lists.freedesktop.org; Koenig, Christian ; Zhang, Hawking ; Freehill, Chris ; Russell, Kent Cc: Zhou1, Tao Subject: [PATCH] drm/amdgpu: remove ras

[PATCH] drm/amdgpu: remove ras block's feature status info in sysfs

2019-08-09 Thread Tao Zhou
feature mask info is enough for rocm tool, "cat /sys/class/drm/card0/device/ras/features" will get the info like this: feature mask: 0x3ffb Signed-off-by: Tao Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 19 +-- 1 file changed, 1 insertion(+), 18 deletions(-) diff --git

Re: [PATCH v19 00/15] arm64: untag user pointers passed to the kernel

2019-08-09 Thread Dave Martin
On Fri, Aug 09, 2019 at 10:00:17AM +0100, Catalin Marinas wrote: > On Thu, Aug 08, 2019 at 04:09:04PM -0700, Kees Cook wrote: > > On Thu, Aug 08, 2019 at 03:33:00PM -0700, Andrew Morton wrote: > > > On Thu, 8 Aug 2019 14:12:19 -0700 Kees Cook wrote: > > > > > > > > The ones that are left are the

Re: drm/amdgpu: replace readq/writeq with atomic64 operations

2019-08-09 Thread Koenig, Christian
Am 08.08.19 um 21:33 schrieb Alex Deucher: > On Thu, Aug 8, 2019 at 3:31 PM Guenter Roeck wrote: >> On Wed, Aug 07, 2019 at 10:56:40AM +0800, Tao Zhou wrote: >>> readq/writeq are not supported on all architectures >>> >>> Signed-off-by: Tao Zhou >>> Reviewed-by: Alex Deucher >> Regarding the

Re: [PATCH v19 00/15] arm64: untag user pointers passed to the kernel

2019-08-09 Thread Catalin Marinas
On Thu, Aug 08, 2019 at 04:09:04PM -0700, Kees Cook wrote: > On Thu, Aug 08, 2019 at 03:33:00PM -0700, Andrew Morton wrote: > > On Thu, 8 Aug 2019 14:12:19 -0700 Kees Cook wrote: > > > > > > The ones that are left are the mm ones: 4, 5, 6, 7 and 8. > > > > > > > > Andrew, could you take a look

Re: 1c74ca7a1a9a ("drm/fb-helper: call vga_remove_vgacon automatically.")

2019-08-09 Thread Gerd Hoffmann
On Fri, Aug 09, 2019 at 09:47:00AM +0200, Borislav Petkov wrote: > Hi, > > On Fri, Aug 09, 2019 at 09:21:33AM +0200, Gerd Hoffmann wrote: > > On Thu, Aug 08, 2019 at 07:45:42PM +0200, Borislav Petkov wrote: > > > Hi, > > > > > > for some unfathomable to me reason, the commit in $Subject breaks >

Re: [PATCH 1/2] drm/amdgpu: implement UMC 64 bits REG operations

2019-08-09 Thread Koenig, Christian
Reviewed-by: Christian König for the series. Am 09.08.19 um 09:57 schrieb Tao Zhou: > implement 64 bits operations via 32 bits interface > > v2: make use of lower_32_bits() and upper_32_bits() macros > > Signed-off-by: Tao Zhou > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h | 9 + >

Re: [PATCH v3 38/41] powerpc: convert put_page() to put_user_page*()

2019-08-09 Thread John Hubbard
On 8/7/19 10:42 PM, Michael Ellerman wrote: > Hi John, > > john.hubb...@gmail.com writes: >> diff --git a/arch/powerpc/mm/book3s64/iommu_api.c >> b/arch/powerpc/mm/book3s64/iommu_api.c >> index b056cae3388b..e126193ba295 100644 >> --- a/arch/powerpc/mm/book3s64/iommu_api.c >> +++

[PATCH 1/2] drm/amdgpu: implement UMC 64 bits REG operations

2019-08-09 Thread Tao Zhou
implement 64 bits operations via 32 bits interface v2: make use of lower_32_bits() and upper_32_bits() macros Signed-off-by: Tao Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h | 9 + drivers/gpu/drm/amd/amdgpu/umc_v6_1.c | 10 +- 2 files changed, 14 insertions(+), 5

[PATCH 2/2] drm/amdgpu: remove RREG64/WREG64

2019-08-09 Thread Tao Zhou
atomic 64 bits REG operations are useless currently Signed-off-by: Tao Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu.h| 4 --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 33 -- 2 files changed, 37 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h

RE: [PATCH 1/2] drm/amdgpu: implement UMC 64 bits REG operations

2019-08-09 Thread Zhou1, Tao
> -Original Message- > From: Koenig, Christian > Sent: 2019年8月9日 14:42 > To: Zhou1, Tao ; amd-gfx@lists.freedesktop.org; > Deucher, Alexander ; Zhang, Hawking > > Subject: Re: [PATCH 1/2] drm/amdgpu: implement UMC 64 bits REG > operations > > Am 09.08.19 um 06:27 schrieb Tao Zhou: > >

Re: [PATCH 2/2] drm/amdgpu: remove RREG64/WREG64

2019-08-09 Thread Koenig, Christian
Am 09.08.19 um 06:27 schrieb Tao Zhou: > atomic 64 bits REG operations are useless currently > > Signed-off-by: Tao Zhou Reviewed-by: Christian König > --- > drivers/gpu/drm/amd/amdgpu/amdgpu.h| 4 --- > drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 33 -- > 2

Re: [PATCH 1/2] drm/amdgpu: implement UMC 64 bits REG operations

2019-08-09 Thread Koenig, Christian
Am 09.08.19 um 06:27 schrieb Tao Zhou: > implement 64 bits operations via 32 bits interface > > Signed-off-by: Tao Zhou > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h | 9 + > drivers/gpu/drm/amd/amdgpu/umc_v6_1.c | 10 +- > 2 files changed, 14 insertions(+), 5

<    1   2