linux/drivers/gpu/drm/msm
Arnd Bergmann 5ea4dba683 drm/msm/a6xx: add CONFIG_QCOM_LLCC dependency
When LLCC support is in a loadable module, the adreno support
cannot be built-in:

aarch64-linux-ld: drivers/gpu/drm/msm/adreno/a6xx_gpu.o: in function `a6xx_gpu_init':
a6xx_gpu.c:(.text+0xe0): undefined reference to `llcc_slice_getd'
a6xx_gpu.c:(.text+0xe0): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `llcc_slice_getd'
aarch64-linux-ld: a6xx_gpu.c:(.text+0xec): undefined reference to `llcc_slice_getd'
a6xx_gpu.c:(.text+0xec): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `llcc_slice_getd'
aarch64-linux-ld: drivers/gpu/drm/msm/adreno/a6xx_gpu.o: in function `a6xx_destroy':
a6xx_gpu.c:(.text+0x274): undefined reference to `llcc_slice_putd'
a6xx_gpu.c:(.text+0x274): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `llcc_slice_putd'
aarch64-linux-ld: a6xx_gpu.c:(.text+0x27c): undefined reference to `llcc_slice_putd'

Add a Kconfig dependency that disallows the broken configuration
but allows all working ones.

Fixes: 474dadb8b0 ("drm/msm/a6xx: Add support for using system cache(LLC)")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20210103140407.3917405-1-arnd@kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210602215252.695994-3-keescook@chromium.org
2021-06-03 10:47:55 +02:00
..
adreno Merge tag 'drm-msm-fixes-2021-05-09' of https://gitlab.freedesktop.org/drm/msm into drm-fixes 2021-05-15 06:52:15 +10:00
disp Merge drm/drm-next into drm-misc-next 2021-05-11 15:59:18 +02:00
dp drm-misc-next for 5.14: 2021-05-19 09:22:56 +10:00
dsi drm/msm/dsi: fix msm_dsi_phy_get_clk_provider return code 2021-04-27 10:10:13 -07:00
edp drm/dp: Pass drm_dp_aux to drm_dp*_link_train_channel_eq_delay() 2021-04-27 18:43:42 -04:00
hdmi
Kconfig drm/msm/a6xx: add CONFIG_QCOM_LLCC dependency 2021-06-03 10:47:55 +02:00
Makefile drm/msm/dsi: drop msm_dsi_pll abstraction 2021-04-07 11:05:46 -07:00
msm_atomic_trace.h
msm_atomic_tracepoints.c
msm_atomic.c Merge drm/drm-fixes into drm-next 2021-04-13 23:15:09 +02:00
msm_debugfs.c drm/msm: Fix debugfs deadlock 2021-04-07 11:05:43 -07:00
msm_debugfs.h
msm_drv.c drm/msm: fix minor version to indicate MSM_PARAM_SUSPENDS support 2021-04-28 13:08:03 -07:00
msm_drv.h drm/msm: Track potentially evictable objects 2021-04-07 11:05:47 -07:00
msm_fb.c drm/msm: Improved debugfs gem stats 2021-04-07 11:05:43 -07:00
msm_fbdev.c drm/aperture: Convert drivers to aperture interfaces 2021-04-14 09:00:04 +02:00
msm_fence.c drm/msm: Ratelimit invalid-fence message 2021-03-17 14:19:19 -07:00
msm_fence.h
msm_gem_prime.c drm/msm: Use struct dma_buf_map in GEM vmap ops 2020-11-10 10:38:57 +01:00
msm_gem_shrinker.c drm/msm: Support evicting GEM objects to swap 2021-04-07 11:05:48 -07:00
msm_gem_submit.c drm/msm: Fix legacy relocs path 2021-02-05 10:00:10 -08:00
msm_gem_vma.c
msm_gem.c drm/msm: Do not unpin/evict exported dma-buf's 2021-04-27 10:10:12 -07:00
msm_gem.h drm/msm: Do not unpin/evict exported dma-buf's 2021-04-27 10:10:12 -07:00
msm_gpu_trace.h drm/msm: Support evicting GEM objects to swap 2021-04-07 11:05:48 -07:00
msm_gpu_tracepoints.c
msm_gpu.c drm/msm: Add param for userspace to query suspend count 2021-04-07 11:05:43 -07:00
msm_gpu.h drm/msm: Add param for userspace to query suspend count 2021-04-07 11:05:43 -07:00
msm_gpummu.c Merge tag 'drm-msm-next-2020-09-27' of https://gitlab.freedesktop.org/drm/msm into drm-next 2020-09-29 10:18:49 +10:00
msm_iommu.c iommu/io-pgtable: Remove tlb_flush_leaf 2020-12-08 15:23:37 +00:00
msm_kms.h drm/msm/kms: Use nested locking for crtc lock instead of custom classes 2021-02-23 12:39:29 -08:00
msm_mmu.h
msm_perf.c
msm_rd.c drm/msm/gem: Switch over to obj->resv for locking 2020-11-04 16:00:56 -08:00
msm_ringbuffer.c drm/msm: Protect ring->submits with it's own lock 2020-11-04 16:00:56 -08:00
msm_ringbuffer.h drm/msm: Protect ring->submits with it's own lock 2020-11-04 16:00:56 -08:00
msm_submitqueue.c
NOTES