Skip to content

Use kvmalloc_array for radeon and amdgpu CS chunks

Chen Li amd-gfx 3 versions – Applied

Status from this message: Applied. Thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 2 repliesApplied
  2. v23 patches 2 repliesSuperseded
  3. v11 patch 3 repliesApplied

Changes in v3 from the cover letter

* add missing kvfree for amdgpu CS

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3drm/radeon: Use kvmalloc for CS chunksdrivers/gpu/drm/radeon/radeon_cs.c+4 -40 replies
2/3drm/amdgpu: Use kvmalloc for CS chunksdrivers/gpu/drm/amd/amdgpu/amdgpu_cs.c+6 -60 replies
3/3drm/amdgpu: correct DRM_ERROR for kvmalloc_arraydrivers/gpu/drm/amd/amdgpu/amdgpu_cs.c+1 -10 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchChristian König
SeriesR-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] Use kvmalloc_array for radeon and amdgpu CS chunks

When testing kernel with trinity, the kernel turned to tainted in that radeon CS require large memory and order is over MAX_ORDER.

kvmalloc/kvmalloc_array should be used here in that it will fallback to vmalloc if necessary.

Chen Li (3):
drm/radeon: Use kvmalloc for CS chunks drm/amdgpu: Use kvmalloc for CS chunks drm/amdgpu: correct DRM_ERROR for kvmalloc_array

Changelog:
v1->v2:
* also use kvmalloc in amdgpu
* fix a DRM_ERROR message for kvmalloc_array.
v2->v3:
* add missing kvfree for amdgpu CS

 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 14 +++++++-------
 drivers/gpu/drm/radeon/radeon_cs.c     |  8 ++++----
 2 files changed, 11 insertions(+), 11 deletions(-)

--
2.30.0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx