Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1509492

Re: [PATCH 0/3] add ION driver for STIh4xx SoC

From Sumit Semwal <sumit.semwal@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH 0/3] add ION driver for STIh4xx SoC
Date 2016-10-26 16:50 +0200
Message-ID <swxGF-51u-3@gated-at.bofh.it> (permalink)
References <swwAV-4k7-17@gated-at.bofh.it> <swwUi-4ri-17@gated-at.bofh.it> <swxGF-51u-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 26 October 2016 at 20:11, Benjamin Gaignard
<benjamin.gaignard@linaro.org> wrote:
> 2016-10-26 15:51 GMT+02:00 Sumit Semwal <sumit.semwal@linaro.org>:
>> Hello Benjamin,
>>
>> On 26 October 2016 at 19:02, Benjamin Gaignard
>> <benjamin.gaignard@linaro.org> wrote:
>>> It is more or less a copy of Hisilicon driver but with a heap definition
>>> fitting with STIH4xx SoC needs.
>>> I have just chnage the some function prefix from "hi6220" to "sti".
>>>
>> Thanks for your patches!
>>
>> I was just wondering if you couldn't convert the HiSilicon driver into
>> something like a 'simple-ion' driver, and have just the DT definitions
>> as specifics? This would save a lot of code duplication, and keep it
>> as a simple interface for common heaps like cma.
>
> Create a simple-ion driver is a good idea but it means that heaps
> (configuration, name, etc..)
> will have to be describe into devicetree. I'm not sure if that will is
> acceptable.
>
>>
>> If there are any ST-specific requirements that are incompatible with
>> the existing driver, it should be clearly documented out here I think.
>
> heaps names and Ids aren't the same so I can't reuse hisilicon driver.
>
But I'd suspect both these are solvable with using something like
'generic,cma' instead of 'hisi,cma' or 'st,cma'?
>
Best,
Sumit.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] add ION driver for STIh4xx SoC Benjamin Gaignard <benjamin.gaignard@linaro.org> - 2016-10-26 15:40 +0200
  [PATCH 1/3] add binding for STIh4xx ION driver Benjamin Gaignard <benjamin.gaignard@linaro.org> - 2016-10-26 15:40 +0200
  [PATCH 2/3] add STIH4xx ION driver Benjamin Gaignard <benjamin.gaignard@linaro.org> - 2016-10-26 15:40 +0200
  Re: [PATCH 0/3] add ION driver for STIh4xx SoC Sumit Semwal <sumit.semwal@linaro.org> - 2016-10-26 16:00 +0200
    Re: [PATCH 0/3] add ION driver for STIh4xx SoC Sumit Semwal <sumit.semwal@linaro.org> - 2016-10-26 16:50 +0200
      Re: [PATCH 0/3] add ION driver for STIh4xx SoC Benjamin Gaignard <benjamin.gaignard@linaro.org> - 2016-10-26 17:10 +0200
        Re: [PATCH 0/3] add ION driver for STIh4xx SoC Laura Abbott <labbott@redhat.com> - 2016-10-27 01:30 +0200
    Re: [PATCH 0/3] add ION driver for STIh4xx SoC Benjamin Gaignard <benjamin.gaignard@linaro.org> - 2016-10-26 16:50 +0200

csiph-web