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


Groups > linux.kernel > #1363807 > unrolled thread

Re: [PATCH v2] ARM: exynos_defconfig: Enable Samsung media platform drivers as modules

Started byKrzysztof Kozlowski <k.kozlowski@samsung.com>
First post2016-03-24 02:10 +0100
Last post2016-03-29 03:30 +0200
Articles 6 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v2] ARM: exynos_defconfig: Enable Samsung media platform  drivers as modules Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-03-24 02:10 +0100
    Re: [PATCH v2] ARM: exynos_defconfig: Enable Samsung media platform  drivers as modules Javier Martinez Canillas <javier@osg.samsung.com> - 2016-03-25 04:20 +0100
      Re: [PATCH v2] ARM: exynos_defconfig: Enable Samsung media platform  drivers as modules Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-03-28 06:30 +0200
        Re: [PATCH v2] ARM: exynos_defconfig: Enable Samsung media platform  drivers as modules Javier Martinez Canillas <javier@osg.samsung.com> - 2016-03-28 07:20 +0200
          Re: [PATCH v2] ARM: exynos_defconfig: Enable Samsung media platform  drivers as modules Javier Martinez Canillas <javier@osg.samsung.com> - 2016-03-28 17:20 +0200
            Re: [PATCH v2] ARM: exynos_defconfig: Enable Samsung media platform  drivers as modules Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-03-29 03:30 +0200

#1363807 — Re: [PATCH v2] ARM: exynos_defconfig: Enable Samsung media platform drivers as modules

FromKrzysztof Kozlowski <k.kozlowski@samsung.com>
Date2016-03-24 02:10 +0100
SubjectRe: [PATCH v2] ARM: exynos_defconfig: Enable Samsung media platform drivers as modules
Message-ID<rg1WF-3mB-1@gated-at.bofh.it>
On 24.03.2016 09:26, Javier Martinez Canillas wrote:
> There are a bunch of media platform drivers under drivers/media/platform/
> that are for Samsung SoCs but are not being built with exynos_defconfig.
> 
> This patch enables them as a module to improve build coverage for these
> drivers and also to allow people use them with proper hardware if modules
> are installed. The S5P MFC driver wasn't enabled since it fails to probe.
> 
> Only the boolean Kconfig symbols are enabled as built-in, since drivers
> are not critical and also to keep the kernel binary image size as small
> as possible.
> 
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
> 
> ---
> 
> Changes in v2:
> - Remove S5P G2D and GSC symbols since overlaps with Exynos DRM functionality.
>   Suggested by Tobias Jakobi
> 
>  arch/arm/configs/exynos_defconfig | 10 ++++++++++
>  1 file changed, 10 insertions(+)

Looks good.
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>


How about doing the same for multi_v7?


Best regards,

Krzysztof

[toc] | [next] | [standalone]


#1364549

FromJavier Martinez Canillas <javier@osg.samsung.com>
Date2016-03-25 04:20 +0100
Message-ID<rgqs1-3Vo-3@gated-at.bofh.it>
In reply to#1363807
Hello Krzysztof,

On 03/23/2016 10:00 PM, Krzysztof Kozlowski wrote:
> On 24.03.2016 09:26, Javier Martinez Canillas wrote:
>> There are a bunch of media platform drivers under drivers/media/platform/
>> that are for Samsung SoCs but are not being built with exynos_defconfig.
>>
>> This patch enables them as a module to improve build coverage for these
>> drivers and also to allow people use them with proper hardware if modules
>> are installed. The S5P MFC driver wasn't enabled since it fails to probe.
>>
>> Only the boolean Kconfig symbols are enabled as built-in, since drivers
>> are not critical and also to keep the kernel binary image size as small
>> as possible.
>>
>> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
>>
>> ---
>>
>> Changes in v2:
>> - Remove S5P G2D and GSC symbols since overlaps with Exynos DRM functionality.
>>   Suggested by Tobias Jakobi
>>
>>  arch/arm/configs/exynos_defconfig | 10 ++++++++++
>>  1 file changed, 10 insertions(+)
> 
> Looks good.
> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
>

Thanks for the review.
 
> 
> How about doing the same for multi_v7?
>

I didn't consider multi_v7 because media drivers aren't necessary for booting
the boards and so it could increase build times for not real benefits in most
machines. But I can enable it in multi_v7 as a follow-up if you think that it
makes sense there too.
 
> 
> Best regards,
> 
> Krzysztof
> 

Best regards,
-- 
Javier Martinez Canillas
Open Source Group
Samsung Research America

[toc] | [prev] | [next] | [standalone]


#1365296

FromKrzysztof Kozlowski <k.kozlowski@samsung.com>
Date2016-03-28 06:30 +0200
Message-ID<rhwYr-1NH-5@gated-at.bofh.it>
In reply to#1364549
On 25.03.2016 12:15, Javier Martinez Canillas wrote:
>>
>> How about doing the same for multi_v7?
>>
> 
> I didn't consider multi_v7 because media drivers aren't necessary for booting
> the boards and so it could increase build times for not real benefits in most
> machines. But I can enable it in multi_v7 as a follow-up if you think that it
> makes sense there too.

I consider use cases of multi_v7 the same as exynos (except the
difference in policy: use always modules). This means that if it makes
sense to enable some media drivers on exynos (for build coverage, boot
testing and real usage) then it makes sense to do the same for multi_v7.

In ideal future we would move entirely from exynos-specific image to one
common image for testing: the multi_v7. It would make things simpler.

Best regards,
Krzysztof

[toc] | [prev] | [next] | [standalone]


#1365309

FromJavier Martinez Canillas <javier@osg.samsung.com>
Date2016-03-28 07:20 +0200
Message-ID<rhxKN-2nA-1@gated-at.bofh.it>
In reply to#1365296
Hello Krzysztof,

On 03/28/2016 12:28 AM, Krzysztof Kozlowski wrote:
> On 25.03.2016 12:15, Javier Martinez Canillas wrote:
>>>
>>> How about doing the same for multi_v7?
>>>
>>
>> I didn't consider multi_v7 because media drivers aren't necessary for booting
>> the boards and so it could increase build times for not real benefits in most
>> machines. But I can enable it in multi_v7 as a follow-up if you think that it
>> makes sense there too.
> 
> I consider use cases of multi_v7 the same as exynos (except the
> difference in policy: use always modules). This means that if it makes
> sense to enable some media drivers on exynos (for build coverage, boot
> testing and real usage) then it makes sense to do the same for multi_v7.
>

Ok, thanks a lot for your suggestion. I'll post a patch for multi_v7 then.
 
> In ideal future we would move entirely from exynos-specific image to one
> common image for testing: the multi_v7. It would make things simpler.
> 
> Best regards,
> Krzysztof
> 

Best regards,
-- 
Javier Martinez Canillas
Open Source Group
Samsung Research America

[toc] | [prev] | [next] | [standalone]


#1365543

FromJavier Martinez Canillas <javier@osg.samsung.com>
Date2016-03-28 17:20 +0200
Message-ID<rhH7s-pT-13@gated-at.bofh.it>
In reply to#1365309
Hello Krzysztof,

On 03/28/2016 01:14 AM, Javier Martinez Canillas wrote:
> 
> On 03/28/2016 12:28 AM, Krzysztof Kozlowski wrote:
>> On 25.03.2016 12:15, Javier Martinez Canillas wrote:
>>>>
>>>> How about doing the same for multi_v7?
>>>>
>>>
>>> I didn't consider multi_v7 because media drivers aren't necessary for booting
>>> the boards and so it could increase build times for not real benefits in most
>>> machines. But I can enable it in multi_v7 as a follow-up if you think that it
>>> makes sense there too.
>>
>> I consider use cases of multi_v7 the same as exynos (except the
>> difference in policy: use always modules). This means that if it makes
>> sense to enable some media drivers on exynos (for build coverage, boot
>> testing and real usage) then it makes sense to do the same for multi_v7.
>>
> 
> Ok, thanks a lot for your suggestion. I'll post a patch for multi_v7 then.
>  
>> In ideal future we would move entirely from exynos-specific image to one
>> common image for testing: the multi_v7. It would make things simpler.
>>
>> Best regards,
>> Krzysztof
>>
> 

Tobias mentioned on IRC that the exynos4-is driver conflicts with the
Exynos DRM driver since both exynos_drm_fimc and exynos-fimc-is use
the FIMC block.

So I think we should just discard $SUBJECT and instead add a Kconfig
check to not allow both drivers to be built as suggested by Tobias.

Like is the case for the other components (G2D, GSC, Mixer, etc).

Best regards,
-- 
Javier Martinez Canillas
Open Source Group
Samsung Research America

[toc] | [prev] | [next] | [standalone]


#1365763

FromKrzysztof Kozlowski <k.kozlowski@samsung.com>
Date2016-03-29 03:30 +0200
Message-ID<rhQDL-7aW-5@gated-at.bofh.it>
In reply to#1365543
On 29.03.2016 00:15, Javier Martinez Canillas wrote:
> Tobias mentioned on IRC that the exynos4-is driver conflicts with the
> Exynos DRM driver since both exynos_drm_fimc and exynos-fimc-is use
> the FIMC block.
> 
> So I think we should just discard $SUBJECT and instead add a Kconfig
> check to not allow both drivers to be built as suggested by Tobias.
> 
> Like is the case for the other components (G2D, GSC, Mixer, etc).

Roger that.

BR,
Krzysztof

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web