summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/msm/Kconfig
diff options
context:
space:
mode:
authorBrian Masney <masneyb@onstation.org>2019-08-23 15:16:36 +0300
committerRob Clark <robdclark@chromium.org>2019-10-07 18:17:39 +0300
commit26c0b26dcd005d9d6de9246737177e7af821859a (patch)
treeaf6e40c2f31587a7e4263e00251ae08740d0174d /drivers/gpu/drm/msm/Kconfig
parent88c1e9404f1deee02e52d13aae3d9ee2cabd66f5 (diff)
downloadlinux-26c0b26dcd005d9d6de9246737177e7af821859a.tar.xz
drm/msm/gpu: add ocmem init/cleanup functions
The files a3xx_gpu.c and a4xx_gpu.c have ifdefs for the OCMEM support that was missing upstream. Add two new functions (adreno_gpu_ocmem_init and adreno_gpu_ocmem_cleanup) that removes some duplicated code. Signed-off-by: Brian Masney <masneyb@onstation.org> Reviewed-by: Jordan Crouse <jcrouse@codeaurora.org> Tested-by: Gabriel Francisco <frc.gabrielgmail.com> Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm/Kconfig')
-rw-r--r--drivers/gpu/drm/msm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/Kconfig b/drivers/gpu/drm/msm/Kconfig
index e9160ce39cbb..6deaa7d01654 100644
--- a/drivers/gpu/drm/msm/Kconfig
+++ b/drivers/gpu/drm/msm/Kconfig
@@ -7,6 +7,7 @@ config DRM_MSM
depends on OF && COMMON_CLK
depends on MMU
depends on INTERCONNECT || !INTERCONNECT
+ depends on QCOM_OCMEM || QCOM_OCMEM=n
select QCOM_MDT_LOADER if ARCH_QCOM
select REGULATOR
select DRM_KMS_HELPER