Re: [PATCH 2/6] drm/msm: gpu: Use the zap shader on 5XX if we can

2017-04-17 Thread Bjorn Andersson
On Mon 17 Apr 14:51 PDT 2017, Jordan Crouse wrote: > On Mon, Apr 17, 2017 at 12:58:07PM -0700, Bjorn Andersson wrote: > > 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 > > > index

Re: [PATCH 2/6] drm/msm: gpu: Use the zap shader on 5XX if we can

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 > index 6c55d24..0e2b00a 100644 > --- a/drivers/gpu/drm/msm/adreno/a5xx_gpu.c > +++ b/drivers/gpu/drm/msm/adreno/a5xx_gpu.c > @@ -470,6 +470,55 @@

Re: [PATCH 2/6] drm/msm: gpu: Use the zap shader on 5XX if we can

2017-04-17 Thread Jordan Crouse
On Mon, Apr 17, 2017 at 12:58:07PM -0700, Bjorn Andersson wrote: > 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 > > index 6c55d24..0e2b00a 100644 > > ---

[PATCH 2/6] drm/msm: gpu: Use the zap shader on 5XX if we can

2017-04-12 Thread Jordan Crouse
The A5XX GPU powers on in "secure" mode. In secure mode the GPU can only render to buffers that are marked as secure and inaccessible to the kernel and user through a series of hardware protections. In practice secure mode is used to draw things like a UI on a secure video frame. In order to