In file included from drivers/media/platform/mediatek/mdp3/mtk-img-ipi.h:14,
from drivers/media/platform/mediatek/mdp3/mtk-mdp3-cmdq.h:13,
from drivers/media/platform/mediatek/mdp3/mtk-mdp3-comp.h:10,
from drivers/media/platform/mediatek/mdp3/mtk-mdp3-core.h:15,
from drivers/media/platform/mediatek/mdp3/mtk-mdp3-core.c:16:
drivers/media/platform/mediatek/mdp3/mt8183/mdp3-comp-mt8183.h:10:10: fatal error: mtk-mdp3-type.h: No such file or directory
10 | #include "mtk-mdp3-type.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[5]: *** [scripts/Makefile.build:288: drivers/media/platform/mediatek/mdp3/mtk-mdp3-core.o] Error 1
make[5]: *** Waiting for unfinished jobs....
CC [M] drivers/media/rc/keymaps/rc-asus-pc39.o
CC [M] drivers/usb/serial/usb_wwan.o
In file included from drivers/media/platform/mediatek/mdp3/mtk-img-ipi.h:14,
from drivers/media/platform/mediatek/mdp3/mtk-mdp3-vpu.h:11,
from drivers/media/platform/mediatek/mdp3/mtk-mdp3-vpu.c:9:
drivers/media/platform/mediatek/mdp3/mt8183/mdp3-comp-mt8183.h:10:10: fatal error: mtk-mdp3-type.h: No such file or directory
10 | #include "mtk-mdp3-type.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
Adding this to /drivers/media/platform/mediatek/mdp3/Makefile
Adding this to drivers/soc/mediatek/hdmirx/Makefile makes it compile
Same for
Adding this to /drivers/media/platform/mediatek/mdp3/Makefile