On Fri, Dec 4, 2020 at 9:26 AM Alexandre Courbot <acourbot@xxxxxxxxxxxx> wrote: > > On Fri, Dec 4, 2020 at 8:15 AM Arnd Bergmann <arnd@xxxxxxxxxx> wrote: > > > > From: Arnd Bergmann <arnd@xxxxxxxx> > > > > The SCP firmware can only be built if CONFIG_REMOTEPROC is > > enabled: > > > > WARNING: unmet direct dependencies detected for MTK_SCP > > Depends on [n]: REMOTEPROC [=n] && (ARCH_MEDIATEK [=y] || COMPILE_TEST [=y]) > > Selected by [y]: > > - VIDEO_MEDIATEK_VCODEC [=y] && MEDIA_SUPPORT [=y] && MEDIA_PLATFORM_SUPPORT [=y] && V4L_MEM2MEM_DRIVERS [=y] && (MTK_IOMMU [=y] || COMPILE_TEST [=y]) && VIDEO_DEV [=y] && VIDEO_V4L2 [=y] && (ARCH_MEDIATEK [=y] || COMPILE_TEST [=y]) > > Despite setting these same options I cannot reproduce this warning on > a merge of master + media. Which tree are you using? Sorry about the noise. I was testing this on earlier this week on v5.10-rc5, but your commit 2da185d6fe96 ("media: mtk-vcodec: fix build breakage when one of VPU or SCP is enabled") has made it into mainline in the meantime and fixed the issue. I had rebased my patches onto linux-next before sending them out to make sure everything still works, but did not check that it was still broken without it. Clearly my patch must have conflicted with yours during the rebase, which should have told me to recheck. Please disregard my fix. Arnd