Skip to content

drm/amdgpu: Explicitly add a flexible array at the end of 'struct amdgpu_bo_list' and simplify amdgpu_bo_list_create()

Christophe JAILLET amd-gfx dri-devel kernel-janitors lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/amdgpu: Explicitly add a flexible array at the end of 'struct amdgpu_bo_list'drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.h+3 -40 replies
2/4drm/amdgpu: Remove a redundant sanity checkdrivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c+0 -40 replies
3/4drm/amdgpu: Remove amdgpu_bo_list_array_entry()drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.h+5 -130 replies
4/4drm/amdgpu: Use kvzalloc() to simplify codedrivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c+1 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] drm/amdgpu: Explicitly add a flexible array at the end of 'struct amdgpu_bo_list' and simplify amdgpu_bo_list_create()

This serie simplifies amdgpu_bo_list_create() and usage of the 'struct amdgpu_bo_list'.

It is compile tested only.

Christophe JAILLET (4):
drm/amdgpu: Explicitly add a flexible array at the end of 'struct
amdgpu_bo_list'
drm/amdgpu: Remove a redundant sanity check drm/amdgpu: Remove amdgpu_bo_list_array_entry() drm/amdgpu: Use kvzalloc() to simplify code

 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c | 15 ++-------------
 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.h | 18 ++++++------------
 2 files changed, 8 insertions(+), 25 deletions(-)
Signature · 1 line
2.34.1