Loading drivers/gpu/msm/adreno_a5xx_snapshot.c +3 −2 Original line number Diff line number Diff line /* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. /* Copyright (c) 2015-2017, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -621,7 +621,8 @@ static size_t a5xx_snapshot_shader_memory(struct kgsl_device *device, header->index = info->bank; header->size = block->sz; memcpy(data, registers.hostptr + info->offset, block->sz); memcpy(data, registers.hostptr + info->offset, block->sz * sizeof(unsigned int)); return SHADER_SECTION_SZ(block->sz); } Loading Loading
drivers/gpu/msm/adreno_a5xx_snapshot.c +3 −2 Original line number Diff line number Diff line /* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. /* Copyright (c) 2015-2017, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -621,7 +621,8 @@ static size_t a5xx_snapshot_shader_memory(struct kgsl_device *device, header->index = info->bank; header->size = block->sz; memcpy(data, registers.hostptr + info->offset, block->sz); memcpy(data, registers.hostptr + info->offset, block->sz * sizeof(unsigned int)); return SHADER_SECTION_SZ(block->sz); } Loading