On 08/08/2017 04:54 PM, Andrew Lunn wrote:
> On Tue, Aug 08, 2017 at 04:15:41PM +0300, Arkadi Sharshevsky wrote:
>> Drivers may require driver specific information during the init stage.
>> For example, memory based shared resource which should be segmented for
>> different ASIC processes, such as FDB and LPM lookups.
> Hi Arkadi
> Have you looked around other subsystems to see if they have already
> solved this problem?
One obvious possible solution which other subsystems use is module prams,
which is not acceptable.
> How about GPUs? Do they have a similar requirement?
Seems they are using module params. Furthermore, I checked the DRM API
and such a feature is not supported.
> This seems like a generic problem for 'smart' peripherals. How would
> you use dpipe with a GPU for example?
Thanks for the review.