Re: Kconfig CONFIG_FB dependency regression

From: Thinh Nguyen
Date: Tue Feb 01 2022 - 19:14:48 EST


Hi,

Fabio Estevam wrote:
> Hi Thinh,
>
> On Tue, Feb 1, 2022 at 8:06 PM Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
>>
>> On 2/1/22 15:01, Thinh Nguyen wrote:
>>> Hi,
>>>
>>> One of our test setups is unable to boot (stuck at initramfs). Git
>>> bisection points to the commit below:
>>>
>>> f611b1e7624c ("drm: Avoid circular dependencies for CONFIG_FB")
>>>
>>> Reverting this patch resolves the issue. This issue persists in mainline
>>> also. Unfortunately there isn't any meaningful log. Hopefully someone
>>> can give some insight as to what could be the issue and revert/fix this
>>> issue.
>>
>> Hi,
>> Did you enable DRM_FBDEV_EMULATION?

I did not enable it.

>> Please provide the failing .config file.
>
> Does selecting CONFIG_FB=y help?
>

On the config that has the issue, this isn't set. After reverting the
commit above, this was set. Maybe this is what's needed? I need to test it.

> We had to manually select this option in imx_v6_v7_defconfig after f611b1e7624c.
>
> Please see:
> https://urldefense.com/v3/__https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v5.17-rc2&id=c54467482ffd407a4404c990697f432bfcb6cdc4__;!!A4F2R9G_pg!JDcPdVX2KHTTcIAjPRE57a4oF9vw8jOBecFs72ia13jhK5q6GNtBrSuA-zpNCZhuVY6t$

Thanks,
Thinh