Re: [PATCH] drm: a6xx: avoid excessive stack usage

2024-10-27 Thread Akhil P Oommen
On 10/21/2024 3:31 PM, Arnd Bergmann wrote: > On Mon, Oct 21, 2024, at 09:25, Akhil P Oommen wrote: >> On Sat, Oct 19, 2024 at 04:14:13PM +0300, Dmitry Baryshkov wrote: >>> On Sat, Oct 19, 2024 at 03:01:46PM +0530, Akhil P Oommen wrote: On Fri, Oct 18, 2024 at 03:11:38PM +, Arnd Bergmann w

Re: [PATCH] drm: a6xx: avoid excessive stack usage

2024-10-23 Thread Akhil P Oommen
On 10/21/2024 3:01 PM, Konrad Dybcio wrote: > On 21.10.2024 11:25 AM, Akhil P Oommen wrote: >> On Sat, Oct 19, 2024 at 04:14:13PM +0300, Dmitry Baryshkov wrote: >>> On Sat, Oct 19, 2024 at 03:01:46PM +0530, Akhil P Oommen wrote: On Fri, Oct 18, 2024 at 03:11:38PM +, Arnd Bergmann wrote: >>

Re: [PATCH] drm: a6xx: avoid excessive stack usage

2024-10-21 Thread Arnd Bergmann
On Mon, Oct 21, 2024, at 09:25, Akhil P Oommen wrote: > On Sat, Oct 19, 2024 at 04:14:13PM +0300, Dmitry Baryshkov wrote: >> On Sat, Oct 19, 2024 at 03:01:46PM +0530, Akhil P Oommen wrote: >> > On Fri, Oct 18, 2024 at 03:11:38PM +, Arnd Bergmann wrote: >> > > From: Arnd Bergmann >> > > >> > >

Re: [PATCH] drm: a6xx: avoid excessive stack usage

2024-10-21 Thread Konrad Dybcio
On 21.10.2024 11:25 AM, Akhil P Oommen wrote: > On Sat, Oct 19, 2024 at 04:14:13PM +0300, Dmitry Baryshkov wrote: >> On Sat, Oct 19, 2024 at 03:01:46PM +0530, Akhil P Oommen wrote: >>> On Fri, Oct 18, 2024 at 03:11:38PM +, Arnd Bergmann wrote: From: Arnd Bergmann Clang-19 and ab

Re: [PATCH] drm: a6xx: avoid excessive stack usage

2024-10-21 Thread Akhil P Oommen
On Sat, Oct 19, 2024 at 04:14:13PM +0300, Dmitry Baryshkov wrote: > On Sat, Oct 19, 2024 at 03:01:46PM +0530, Akhil P Oommen wrote: > > On Fri, Oct 18, 2024 at 03:11:38PM +, Arnd Bergmann wrote: > > > From: Arnd Bergmann > > > > > > Clang-19 and above sometimes end up with multiple copies of

Re: [PATCH] drm: a6xx: avoid excessive stack usage

2024-10-19 Thread Dmitry Baryshkov
On Sat, Oct 19, 2024 at 03:01:46PM +0530, Akhil P Oommen wrote: > On Fri, Oct 18, 2024 at 03:11:38PM +, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > Clang-19 and above sometimes end up with multiple copies of the large > > a6xx_hfi_msg_bw_table structure on the stack. The problem is t

Re: [PATCH] drm: a6xx: avoid excessive stack usage

2024-10-19 Thread Akhil P Oommen
On Fri, Oct 18, 2024 at 03:11:38PM +, Arnd Bergmann wrote: > From: Arnd Bergmann > > Clang-19 and above sometimes end up with multiple copies of the large > a6xx_hfi_msg_bw_table structure on the stack. The problem is that > a6xx_hfi_send_bw_table() calls a number of device specific functions

[PATCH] drm: a6xx: avoid excessive stack usage

2024-10-18 Thread Arnd Bergmann
From: Arnd Bergmann Clang-19 and above sometimes end up with multiple copies of the large a6xx_hfi_msg_bw_table structure on the stack. The problem is that a6xx_hfi_send_bw_table() calls a number of device specific functions to fill the structure, but these create another copy of the structure on