summaryrefslogtreecommitdiff
path: root/kernel/events
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-07-21 23:56:19 +0300
committerPhilipp Zabel <p.zabel@pengutronix.de>2017-08-11 11:31:13 +0300
commit2406b296a3a80ba1c78707f205556f2388d474ff (patch)
treeaee7a7e4947d54ab05a908609e8db5746c9c525d /kernel/events
parent46828dc77961d9286e55671c4dd3b6c9effadf1a (diff)
downloadlinux-2406b296a3a80ba1c78707f205556f2388d474ff.tar.xz
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: ea9c260514c1 ("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>
Diffstat (limited to 'kernel/events')
0 files changed, 0 insertions, 0 deletions