Re: [PATCH 6/7] drm/exec: Pass in initial # of objects

2023-10-30 Thread Rob Clark
On Mon, Oct 30, 2023 at 9:01 AM Christian König wrote: > > Am 30.10.23 um 14:38 schrieb Rob Clark: > > On Mon, Oct 30, 2023 at 1:05 AM Christian König > > wrote: > >> Am 27.10.23 um 18:58 schrieb Rob Clark: > >>> From: Rob Clark > >>> > >>> In cases where the # is known ahead of time, it is

Re: [PATCH 6/7] drm/exec: Pass in initial # of objects

2023-10-30 Thread Christian König
Am 30.10.23 um 14:38 schrieb Rob Clark: On Mon, Oct 30, 2023 at 1:05 AM Christian König wrote: Am 27.10.23 um 18:58 schrieb Rob Clark: From: Rob Clark In cases where the # is known ahead of time, it is silly to do the table resize dance. Ah, yes that was my initial implementation as well,

Re: [PATCH 6/7] drm/exec: Pass in initial # of objects

2023-10-30 Thread Rob Clark
On Mon, Oct 30, 2023 at 1:05 AM Christian König wrote: > > Am 27.10.23 um 18:58 schrieb Rob Clark: > > From: Rob Clark > > > > In cases where the # is known ahead of time, it is silly to do the table > > resize dance. > > Ah, yes that was my initial implementation as well, but I ditched that >

Re: [PATCH 6/7] drm/exec: Pass in initial # of objects

2023-10-30 Thread Christian König
Am 27.10.23 um 18:58 schrieb Rob Clark: From: Rob Clark In cases where the # is known ahead of time, it is silly to do the table resize dance. Ah, yes that was my initial implementation as well, but I ditched that because nobody actually used it. One comment below. Signed-off-by: Rob

[PATCH 6/7] drm/exec: Pass in initial # of objects

2023-10-27 Thread Rob Clark
From: Rob Clark In cases where the # is known ahead of time, it is silly to do the table resize dance. Signed-off-by: Rob Clark --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c | 4 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 4 ++--