> -----Original Message-----
> From: linux-yocto@lists.yoctoproject.org <linux-
> yo...@lists.yoctoproject.org> On Behalf Of Zhang, Qiang
> Sent: Wednesday, January 6, 2021 11:09
> To: bruce.ashfi...@gmail.com
> Cc: linux-yocto@lists.yoctoproject.org
> Subject: [linux-yocto][yocto-kernel-cache][PATCH] drm: fix
> CONFIG_DRM_KMS_HELPER mismatch warning
> 
> From: Zqiang <qiang.zh...@windriver.com>
> 
> [NOTE]: 'CONFIG_DRM_KMS_HELPER' last val (m) and .config val (y) do not
> match
>     [INFO]: CONFIG_DRM_KMS_HELPER : y ## .config: 4100 :
>             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
> 
> this warning happend in intel-x86 BSP, override the CONFIG_DRM_KMS_HELPER
> in intel-x86 BSP.
> 
> Signed-off-by: Zqiang <qiang.zh...@windriver.com>
> ---
>  bsp/intel-x86/intel-x86-i915-overrides.cfg | 3 +++
>  bsp/intel-x86/intel-x86.scc                | 1 +
>  2 files changed, 4 insertions(+)
>  create mode 100644 bsp/intel-x86/intel-x86-i915-overrides.cfg
> 
> diff --git a/bsp/intel-x86/intel-x86-i915-overrides.cfg b/bsp/intel-
> x86/intel-x86-i915-overrides.cfg
> new file mode 100644
> index 00000000..173aaa16
> --- /dev/null
> +++ b/bsp/intel-x86/intel-x86-i915-overrides.cfg
> @@ -0,0 +1,3 @@
> +# SPDX-License-Identifier: MIT
> +CONFIG_DRM_I915=y

Is there any reason setting I915 as built-in?


Thanks,
Yongxin

> +CONFIG_DRM_KMS_HELPER=y
> diff --git a/bsp/intel-x86/intel-x86.scc b/bsp/intel-x86/intel-x86.scc
> index 93a6b73d..47c897c2 100644
> --- a/bsp/intel-x86/intel-x86.scc
> +++ b/bsp/intel-x86/intel-x86.scc
> @@ -56,3 +56,4 @@ kconf hardware intel-x86-mga.cfg  kconf hardware intel-
> x86-acpi.cfg  kconf hardware intel-x86-igb-overrides.cfg  kconf hardware
> intel-x86-ixgbe-overrides.cfg
> +kconf hardware intel-x86-i915-overrides.cfg
> --
> 2.17.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9408): 
https://lists.yoctoproject.org/g/linux-yocto/message/9408
Mute This Topic: https://lists.yoctoproject.org/mt/79467847/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