Skip to content

qcom: remove memcpy()ing from cmd-db driver

Stephen Boyd linux-arm-msm lkml 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesNew
  2. v22 patches 2 repliesSuperseded
  3. v12 patches 2 repliesSuperseded

Changes in v3 from the cover letter

* Consolidated GPU code some more per Jordan's suggestion

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2soc: qcom: cmd-db: Remove memcpy()ing from cmd_db_get_header()drivers/soc/qcom/cmd-db.c+26 -340 replies
2/2soc: qcom: cmd-db: Stop memcpy()ing in cmd_db_read_aux_data()drivers/gpu/drm/msm/adreno/a6xx_gmu.c drivers/soc/qcom/cmd-db.c include/soc/qcom/cmd-db.h+30 -790 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/2] qcom: remove memcpy()ing from cmd-db driver

A couple patches for the cmd-db code to not do any more copying of memory. Instead, we'll just hand out pointers to things inside cmd-db.

Changes from v2:
* Consolidated GPU code some more per Jordan's suggestion

Changes from v1:
* Fixed patch#2 for GPU wreckage

Cc Mahesh Sivasubramanian <[email protected]>
Cc Lina Iyer <[email protected]>
Cc Bjorn Andersson <[email protected]>
Cc Evan Green <[email protected]>
Cc Jordan Crouse <[email protected]>
Cc Rob Clark <[email protected]>

Stephen Boyd (2):
soc: qcom: cmd-db: Remove memcpy()ing from cmd_db_get_header()
soc: qcom: cmd-db: Stop memcpy()ing in cmd_db_read_aux_data()

 drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 54 ++++++----------
 drivers/soc/qcom/cmd-db.c             | 93 +++++++++------------------
 include/soc/qcom/cmd-db.h             | 12 +---
 3 files changed, 51 insertions(+), 108 deletions(-)
Signature · 1 line
Sent by a computer through tubes