________________________________________
发件人: Bruce Ashfield <bruce.ashfi...@gmail.com>
发送时间: 2020年12月23日 0:08
收件人: Zhang, Qiang
抄送: linux-yocto@lists.yoctoproject.org
主题: Re: Question on i915: adust helper to 'm'

On Tue, Dec 22, 2020 at 1:06 AM Zhang, Qiang <qiang.zh...@windriver.com> wrote:
>
> Hello Bruce
>
> about commit 27ad9c754f20bdc59d281e6bc7c9b2a96bbed0ee
> There is warning here:
>
>
> [NOTE]: 'CONFIG_DRM_KMS_HELPER' last val (m) and .config val (y) do not match
>     [INFO]: CONFIG_DRM_KMS_HELPER : y ## .config: 4070 
> :configs/standard/intel-x86/features/i915/i915.cfg (m)
>     [INFO]: raw config text:
>
>         config DRM_KMS_HELPER
>                 tristate
>                 depends on DRM && HAS_IOMEM
>                 help
>                   CRTC helpers for KMS drivers.
>
>         Config 'DRM_KMS_HELPER' has the following Direct dependencies 
> (DRM_KMS_HELPER=y):
>                 DRM(=y) && HAS_IOMEM(=y)
>         Parent dependencies are:
>              HAS_IOMEM [y] DRM [y]
>     [INFO]: config 'CONFIG_DRM_KMS_HELPER' was set, but it wasn't assignable, 
> check (parent) dependencies
>
>     [INFO]: selection details for 'CONFIG_DRM_KMS_HELPER':
>         Symbols currently y-selecting this symbol:
>           - DRM_FBDEV_EMULATION
>           - DRM_VIRTIO_GPU
>
>         Symbols currently m-selecting this symbol:
>           - DRM_RADEON
>           - DRM_NOUVEAU
>           - DRM_I915
>           - DRM_MGAG200
>
>
> I find this will trigger Warning:
>
> Symbol: DRM_FBDEV_EMULATION [=y]
> Type  : bool
> Selects: DRM_KMS_HELPER [=y] && DRM_KMS_FB_HELPER [=y]
>

>You need to override the settings for that in the relevant BSPs.
>
>I just sent another fix to the tools that won't always show the
>warning, but the reality is that those settings are used by multiple
>kernel types and we end up with different values based on BSPs >and the
>kernel type.
>
>So to really silence the warning, we should set the value in the BSP,
>since it knows the proper setting. That was always the design of the
>base values -> BSP, we are only now finally getting the right >warnings
>from the tools.
>
>Bruce

Hello Bruce

this warnning happend in intel-x86-64 bsp,
DRM_FBDEV_EMULATION=y will select DRM_KMS_HELPER=y, 
and depend CONFIG_DRM=y and type is bool,  

I set CONFIG_DRM =m in x86-64 bsp, this DRM_KMS_HELPER warning, but trigger 
another warning about DRM_VIRTIO_GPU.
I want to know what you suggest

Qiang

> Thanks
> Qiang



--
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9323): 
https://lists.yoctoproject.org/g/linux-yocto/message/9323
Mute This Topic: https://lists.yoctoproject.org/mt/79308926/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to