Re: [Freedreno] [PATCH 04/16] drm: msm: Flush the cache immediately after allocating pages

2016-11-07 Thread Jordan Crouse
On Mon, Nov 07, 2016 at 07:19:24AM -0500, Rob Clark wrote: > On Mon, Nov 7, 2016 at 3:35 AM, Archit Taneja wrote: > > > > > > On 11/06/2016 07:45 PM, Rob Clark wrote: > >> > >> On Fri, Nov 4, 2016 at 6:44 PM, Jordan Crouse > >> wrote: > >>> > >>> For reasons that are not entirely understood using

Re: [Freedreno] [PATCH 04/16] drm: msm: Flush the cache immediately after allocating pages

2016-11-07 Thread Rob Clark
On Mon, Nov 7, 2016 at 3:35 AM, Archit Taneja wrote: > > > On 11/06/2016 07:45 PM, Rob Clark wrote: >> >> On Fri, Nov 4, 2016 at 6:44 PM, Jordan Crouse >> wrote: >>> >>> For reasons that are not entirely understood using dma_map_sg() >>> for nocache/write combine buffers doesn't always successful

Re: [Freedreno] [PATCH 04/16] drm: msm: Flush the cache immediately after allocating pages

2016-11-07 Thread Archit Taneja
On 11/06/2016 07:45 PM, Rob Clark wrote: On Fri, Nov 4, 2016 at 6:44 PM, Jordan Crouse wrote: For reasons that are not entirely understood using dma_map_sg() for nocache/write combine buffers doesn't always successfully flush the cache after the memory is zeroed somewhere deep in the bowels o

Re: [Freedreno] [PATCH 04/16] drm: msm: Flush the cache immediately after allocating pages

2016-11-06 Thread Rob Clark
On Fri, Nov 4, 2016 at 6:44 PM, Jordan Crouse wrote: > For reasons that are not entirely understood using dma_map_sg() > for nocache/write combine buffers doesn't always successfully flush > the cache after the memory is zeroed somewhere deep in the bowels > of the shmem code. My working theory i