Re: [PATCH 3/6] drm/msm: Improve the zap shader

2017-04-17 Thread Bjorn Andersson
On Wed 12 Apr 14:15 PDT 2017, Jordan Crouse wrote: > Simply the code use snprintf correctly and make sure that we memset > the rest of the segment if the memory size in the ELF file is larger > than the file size. > > Signed-off-by: Jordan Crouse Please squash this with the prior commits. > --

[PATCH 3/6] drm/msm: Improve the zap shader

2017-04-12 Thread Jordan Crouse
Simply the code use snprintf correctly and make sure that we memset the rest of the segment if the memory size in the ELF file is larger than the file size. Signed-off-by: Jordan Crouse --- drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 70 +-- 1 file changed, 35 inserti