[PATCH 6/6] drm/msm: add OCMEM driver

2015-10-01 Thread Rob Clark
On Thu, Oct 1, 2015 at 8:59 PM, Stephen Boyd wrote: > On 10/01, Rob Clark wrote: >> On Thu, Oct 1, 2015 at 3:25 PM, Rob Clark wrote: >> > On Thu, Oct 1, 2015 at 2:00 PM, Stephen Boyd >> > wrote: >> >> >> >> The simplest thing to do is to split the memory between GPU and >> >> vidc statically.

[PATCH 6/6] drm/msm: add OCMEM driver

2015-10-01 Thread Rob Clark
On Thu, Oct 1, 2015 at 3:25 PM, Rob Clark wrote: > On Thu, Oct 1, 2015 at 2:00 PM, Stephen Boyd wrote: >> On 10/01, Stanimir Varbanov wrote: >>> On 09/30/2015 02:45 PM, Rob Clark wrote: >>> > On Wed, Sep 30, 2015 at 7:31 AM, Rob Clark wrote: >>> >> On Wed, Sep 30, 2015 at 3:51 AM, Stanimir

[PATCH 6/6] drm/msm: add OCMEM driver

2015-10-01 Thread Stephen Boyd
On 10/01, Rob Clark wrote: > On Thu, Oct 1, 2015 at 3:25 PM, Rob Clark wrote: > > On Thu, Oct 1, 2015 at 2:00 PM, Stephen Boyd > > wrote: > >> > >> The simplest thing to do is to split the memory between GPU and > >> vidc statically. The other use cases with preemption and eviction > >> and DMA

[PATCH 6/6] drm/msm: add OCMEM driver

2015-10-01 Thread Rob Clark
On Thu, Oct 1, 2015 at 2:00 PM, Stephen Boyd wrote: > On 10/01, Stanimir Varbanov wrote: >> On 09/30/2015 02:45 PM, Rob Clark wrote: >> > On Wed, Sep 30, 2015 at 7:31 AM, Rob Clark wrote: >> >> On Wed, Sep 30, 2015 at 3:51 AM, Stanimir Varbanov >> >> wrote: >> >>> On 09/29/2015 10:48 PM, Rob

[PATCH 6/6] drm/msm: add OCMEM driver

2015-10-01 Thread Stanimir Varbanov
On 09/30/2015 02:45 PM, Rob Clark wrote: > On Wed, Sep 30, 2015 at 7:31 AM, Rob Clark wrote: >> On Wed, Sep 30, 2015 at 3:51 AM, Stanimir Varbanov >> wrote: >>> Hi Rob, >>> >>> Thanks for your work. >>> >>> On 09/29/2015 10:48 PM, Rob Clark wrote: For now, since the GPU is the only upstream

[PATCH 6/6] drm/msm: add OCMEM driver

2015-10-01 Thread Stephen Boyd
On 10/01, Stanimir Varbanov wrote: > On 09/30/2015 02:45 PM, Rob Clark wrote: > > On Wed, Sep 30, 2015 at 7:31 AM, Rob Clark wrote: > >> On Wed, Sep 30, 2015 at 3:51 AM, Stanimir Varbanov > >> wrote: > >>> On 09/29/2015 10:48 PM, Rob Clark wrote: > >> was mandatory or just power optimization..

[PATCH 6/6] drm/msm: add OCMEM driver

2015-09-30 Thread Stanimir Varbanov
Hi Rob, Thanks for your work. On 09/29/2015 10:48 PM, Rob Clark wrote: > For now, since the GPU is the only upstream consumer, just stuff this > into drm/msm. Eventually if we have other consumers, we'll have to As the video encoder/decoder driver (vidc) for apq8084 && msm8974 also use the

[PATCH 6/6] drm/msm: add OCMEM driver

2015-09-30 Thread Rob Clark
On Wed, Sep 30, 2015 at 7:31 AM, Rob Clark wrote: > On Wed, Sep 30, 2015 at 3:51 AM, Stanimir Varbanov > wrote: >> Hi Rob, >> >> Thanks for your work. >> >> On 09/29/2015 10:48 PM, Rob Clark wrote: >>> For now, since the GPU is the only upstream consumer, just stuff this >>> into drm/msm.

[PATCH 6/6] drm/msm: add OCMEM driver

2015-09-30 Thread Rob Clark
On Wed, Sep 30, 2015 at 3:51 AM, Stanimir Varbanov wrote: > Hi Rob, > > Thanks for your work. > > On 09/29/2015 10:48 PM, Rob Clark wrote: >> For now, since the GPU is the only upstream consumer, just stuff this >> into drm/msm. Eventually if we have other consumers, we'll have to > > As the

[PATCH 6/6] drm/msm: add OCMEM driver

2015-09-29 Thread Rob Clark
For now, since the GPU is the only upstream consumer, just stuff this into drm/msm. Eventually if we have other consumers, we'll have to split this out and make the allocation less hard coded. But I'll punt on that until I better understand the non-gpu uses-cases (and whether the allocation