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@xxxxxxxxxxxxxx> Cc: Lina Iyer <ilina@xxxxxxxxxxxxxx> Cc: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx> Cc: Evan Green <evgreen@xxxxxxxxxxxx> Cc: Jordan Crouse <jcrouse@xxxxxxxxxxxxxx> Cc: Rob Clark <robdclark@xxxxxxxxx> 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(-) -- Sent by a computer through tubes