mbox series

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

Message ID 20180926180234.55620-1-swboyd@chromium.org (mailing list archive)
Headers show
Series qcom: remove memcpy()ing from cmd-db driver | expand

Message

Stephen Boyd Sept. 26, 2018, 6:02 p.m. UTC
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 <msivasub@codeaurora.org>
Cc: Lina Iyer <ilina@codeaurora.org>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Evan Green <evgreen@chromium.org>
Cc: Jordan Crouse <jcrouse@codeaurora.org>
Cc: Rob Clark <robdclark@gmail.com>

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(-)