Re: [PATCH 1/6] drm/msm: Add a quick and dirty PIL loader

2017-04-17 Thread Bjorn Andersson
On Wed 12 Apr 14:15 PDT 2017, Jordan Crouse wrote: > diff --git a/drivers/gpu/drm/msm/adreno/a5xx_gpu.c > b/drivers/gpu/drm/msm/adreno/a5xx_gpu.c [..] > +static int _pil_tz_load_image(struct platform_device *pdev) > +{ You should be able to replace this with a call into drivers/soc/qcom/mdt_loade

[PATCH 1/6] drm/msm: Add a quick and dirty PIL loader

2017-04-12 Thread Jordan Crouse
In order to switch the GPU out of secure mode on most systems we need to load a zap shader into memory and get it authenticated and into the secure world. All the bits and pieces to do the load are scattered throughout the kernel, but we need to bring everything together. Add a semi-custom loader