mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 07:04:00 +08:00
2406b296a3
The new PRE/PRG driver code causes a link failure when IPUv3 is built-in,
but DRM is built as a module:
drivers/gpu/ipu-v3/ipu-pre.o: In function `ipu_pre_configure':
ipu-pre.c:(.text.ipu_pre_configure+0x18): undefined reference to `drm_format_info'
drivers/gpu/ipu-v3/ipu-prg.o: In function `ipu_prg_format_supported':
ipu-prg.c:(.text.ipu_prg_format_supported+0x8): undefined reference to `drm_format_info'
Adding a Kconfig dependency on DRM means we don't run into this problem
any more. If DRM is disabled altogether, the IPUv3 driver is built
without PRE/PRG support.
Fixes:
|
||
---|---|---|
.. | ||
ipu-common.c | ||
ipu-cpmem.c | ||
ipu-csi.c | ||
ipu-dc.c | ||
ipu-di.c | ||
ipu-dmfc.c | ||
ipu-dp.c | ||
ipu-ic.c | ||
ipu-image-convert.c | ||
ipu-pre.c | ||
ipu-prg.c | ||
ipu-prv.h | ||
ipu-smfc.c | ||
ipu-vdi.c | ||
Kconfig | ||
Makefile |