Skip to content

drm/vc4: Improve drm_gem_object handling

Maíra Canal dri-devel 2 versions – Applied

Status from this message: Applied to drm-misc-next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesApplied
  2. v12 patches 1 replySuperseded

Changes in v2 from the cover letter

* Add André Almeida's Reviewed-by.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2drm/vc4: replace drm_gem_dma_object for drm_gem_object in vc4_exec_infodrivers/gpu/drm/vc4/vc4_drv.h drivers/gpu/drm/vc4/vc4_gem.c drivers/gpu/drm/vc4/vc4_validate.c+20 -231 reply
2/2drm/vc4: replace obj lookup steps with drm_gem_objects_lookupdrivers/gpu/drm/vc4/vc4_gem.c+2 -411 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAndré AlmeidaJavier Martinez Canillas
1/2R-b R-b
2/2R-b R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/2] drm/vc4: Improve drm_gem_object handling

Currently, the array of BOs that are lookup up at the start of exec is being instantiated as drm_gem_dma_object, which is not needed and makes it difficult to use the drm_gem_objects_lookup() helper. Therefore, replace drm_gem_dma_object for drm_gem_object and then replace obj lookup steps with drm_gem_objects_lookup().

v1 -> v2:

* Add André Almeida's Reviewed-by.

Best Regards,
- Maíra Canal

Maíra Canal (2):
drm/vc4: replace drm_gem_dma_object for drm_gem_object in vc4_exec_info drm/vc4: replace obj lookup steps with drm_gem_objects_lookup

 drivers/gpu/drm/vc4/vc4_drv.h      |  2 +-
 drivers/gpu/drm/vc4/vc4_gem.c      | 78 +++++++-----------------------
 drivers/gpu/drm/vc4/vc4_validate.c |  4 +-
 3 files changed, 21 insertions(+), 63 deletions(-)
Signature · 1 line
2.39.1