2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 07:04:00 +08:00
linux-next/drivers/gpu/ipu-v3
Arnd Bergmann 2406b296a3 gpu: ipu-v3: add DRM dependency
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: ea9c260514 ("gpu: ipu-v3: add driver for Prefetch Resolve Gasket")
Link: https://patchwork.kernel.org/patch/9636665/
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
[p.zabel@pengutronix.de: changed the dependency from DRM to DRM || !DRM,
 since the link failure only happens when DRM=m and IPUV3_CORE=y.
 Modified the commit message to reflect this.]
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
2017-08-11 10:31:13 +02:00
..
ipu-common.c Linux 4.12-rc5 2017-06-16 13:58:27 +10:00
ipu-cpmem.c gpu: ipu-v3: Add support for double read/write reduction 2017-06-08 08:57:18 +02:00
ipu-csi.c gpu: ipu-v3: export ipu_csi_set_downsize 2017-02-17 08:04:27 +01:00
ipu-dc.c gpu: ipu-v3: remove IRQ dance on DC channel disable 2017-03-15 15:28:27 +01:00
ipu-di.c gpu: ipu-di: silence videomode logspam 2016-11-09 10:41:14 +01:00
ipu-dmfc.c gpu: ipu-v3: Do not wait for DMFC FIFO to clear when disabling DMFC channel 2016-08-29 12:45:05 +02:00
ipu-dp.c drm/imx: add deferred plane disabling 2017-03-15 15:42:29 +01:00
ipu-ic.c gpu: ipu-v3: Add ipu_rot_mode_is_irt() 2016-09-19 08:30:14 +02:00
ipu-image-convert.c gpu: ipu-v3: only set non-zero AXI ID for IC when PRG is absent 2017-03-16 10:14:49 +01:00
ipu-pre.c gpu: ipu-v3: pre: only use internal clock gating 2017-06-06 10:21:10 +02:00
ipu-prg.c gpu: ipu-v3: prg: remove counter load enable 2017-06-08 08:57:13 +02:00
ipu-prv.h gpu: ipu-v3: remove interrupt busy waiting routine 2017-06-08 08:57:19 +02:00
ipu-smfc.c IPUv3 fixes for v3.18 2014-10-07 14:31:14 +10:00
ipu-vdi.c gpu: ipu-v3: vdic: include AUTO field order bit in ipu_vdi_set_field_order 2017-06-08 08:57:20 +02:00
Kconfig gpu: ipu-v3: add DRM dependency 2017-08-11 10:31:13 +02:00
Makefile gpu: ipu-v3: don't depend on DRM being enabled 2017-04-04 10:58:56 +02:00