Re: [RFC PATCH 10/12] drm/amd/display: Use ARCH_HAS_KERNEL_FPU_SUPPORT

2023-12-13 Thread Timothy Pearson
- Original Message - > From: "Samuel Holland" > To: "Michael Ellerman" > Cc: "linux-kernel" , "amd-gfx" > , "linux-arch" > , "linux-arm-kernel" > , loonga...@lists.linux.dev, > "linuxppc-dev&q

Re: [PATCH] drm/amdgpu: Re-enable DCN for 64-bit powerpc

2022-07-25 Thread Timothy Pearson
- Original Message - > From: "Linus Torvalds" > To: "Michael Ellerman" > Cc: "linuxppc-dev" , "Alex Deucher" > , "amd-gfx" > , li...@roeck-us.net, "linux-kernel" > , "Dan Horák" > , "

[PATCH 2/3] amdgpu: Enable initial DCN support on POWER

2019-12-07 Thread Timothy Pearson
-off-by: Timothy Pearson --- drivers/gpu/drm/amd/display/Kconfig | 8 ++--- drivers/gpu/drm/amd/display/dc/calcs/Makefile | 9 ++ .../gpu/drm/amd/display/dc/calcs/dcn_calcs.c | 1 + drivers/gpu/drm/amd/display/dc/dcn20/Makefile | 8 + .../drm/amd/display/dc/dcn20

[PATCH 3/3] amdgpu: Wrap FPU dependent functions in dc20

2019-12-07 Thread Timothy Pearson
dc20 containes several FPU-dependent functions without proper FPU kernel mode enable/disable wrappers. Add the required wrappers for both x86 and POWER. This enables Navi DC20 support for POWER systems. Signed-off-by: Timothy Pearson --- .../gpu/drm/amd/display/dc/dcn20/dcn20_resource.c | 14

[PATCH 1/3] amdgpu: Prepare DCN floating point macros for generic

2019-12-07 Thread Timothy Pearson
arch support Introduce DC_FP_START()/DC_FP_END() macros to help enable floating point kernel mode support across various architectures. Signed-off-by: Timothy Pearson --- .../gpu/drm/amd/display/dc/calcs/dcn_calcs.c | 24 +-- .../drm/amd/display/dc/dcn20/dcn20_resource.c | 4

Re: amdgpu: Enable full DCN support on POWER

2019-12-06 Thread Timothy Pearson
- Original Message - > From: "Michel Dänzer" > To: "Timothy Pearson" , "Harry Wentland" > > Cc: "Zhan Liu" , "amd-gfx" > Sent: Friday, December 6, 2019 10:12:42 AM > Subject: Re: amdgpu: Enable full DCN support o

Re: amdgpu: Enable full DCN support on POWER

2019-12-05 Thread Timothy Pearson
- Original Message - > From: "Harry Wentland" > To: "Liu, Zhan" , "Timothy Pearson" > , "amd-gfx" > > Sent: Thursday, December 5, 2019 5:19:22 PM > Subject: Re: amdgpu: Enable full DCN support on POWER > On 2019-12-05

[PATCH] [RFC v2] amdgpu: Enable full DCN support on POWER

2019-12-05 Thread Timothy Pearson
DCN requires floating point support to operate. Add the appropriate x86/ppc64 guards and FPU / AltiVec / VSX context switches to DCN. Signed-off-by: Timothy Pearson --- drivers/gpu/drm/amd/display/Kconfig | 8 +- drivers/gpu/drm/amd/display/dc/Makefile | 1 + drivers/gpu

Re: [PATCH] [RFC] amdgpu: Enable full DCN support on POWER

2019-12-05 Thread Timothy Pearson
Sent this a bit too early, still running through checks. Watch for a V2 shortly. - Original Message - > From: "Timothy Pearson" > To: "amd-gfx" > Sent: Thursday, December 5, 2019 3:39:24 PM > Subject: [PATCH] [RFC] amdgpu: Enable full DCN support o

[PATCH] [RFC] amdgpu: Enable full DCN support on POWER

2019-12-05 Thread Timothy Pearson
DCN requires floating point support to operate. Add the appropriate x86/ppc64 guards and FPU / AltiVec / VSX context switches to DCN. Signed-off-by: Timothy Pearson --- drivers/gpu/drm/amd/display/Kconfig | 8 +- drivers/gpu/drm/amd/display/dc/Makefile | 1 + drivers/gpu

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

2019-11-25 Thread Timothy Pearson
- Original Message - > From: "Felix Kuehling" > To: "Timothy Pearson" > Cc: "amd-gfx" > Sent: Monday, November 25, 2019 3:34:20 PM > Subject: Re: [PATCH 1/1] amdgpu: Enable KFD on POWER systems > On 2019-11-25 4:06 p.m., Tim

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

2019-11-25 Thread Timothy Pearson
- Original Message - > From: "Felix Kuehling" > To: "Timothy Pearson" , "amd-gfx" > > Sent: Monday, November 25, 2019 11:07:31 AM > Subject: Re: [PATCH 1/1] amdgpu: Enable KFD on POWER systems > Hi Timothy, > > Thank you for t

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] amd

[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

[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

[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

Re: [PATCH] Increase AMDGPU_MAX_UVD_INSTANCES to 3

2018-06-25 Thread Timothy Pearson
n 06/25/2018 09:46 AM, James Zhu wrote: > > > On 2018-06-23 08:02 PM, Timothy Pearson wrote: >> amdgpu_fence_driver_start_ring() attempts to access >> UVD instance 2 during setup, while the existing UVD >> instance count only allows instances 0 and 1. >> >

[PATCH] Increase AMDGPU_MAX_UVD_INSTANCES to 3

2018-06-25 Thread Timothy Pearson
amdgpu_fence_driver_start_ring() attempts to access UVD instance 2 during setup, while the existing UVD instance count only allows instances 0 and 1. Increase AMDGPU_MAX_UVD_INSTANCES by one to avoid the invalid array access. Caught by UBSAN. Signed-off-by: Timothy Pearson --- drivers/gpu

[PATCH 1/1] Fix undefined behaviour from signed integer overflow

2018-06-25 Thread Timothy Pearson
Caught by UBSAN Signed-off-by: Timothy Pearson --- drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c b/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c index d644a9bb9078