summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/acp/Kconfig
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2016-05-24 19:47:44 +0200
committerAlex Deucher <alexander.deucher@amd.com>2016-05-25 15:44:15 +0200
commit425c452b547622fb728c9ed4fe99c3f2f51d816d (patch)
tree751c8a23e3ad5d0badbd62ad4c71da4240da5764 /drivers/gpu/drm/amd/acp/Kconfig
parentdrm/amdgpu: Fix hdmi deep color support. (diff)
downloadlinux-425c452b547622fb728c9ed4fe99c3f2f51d816d.tar.xz
linux-425c452b547622fb728c9ed4fe99c3f2f51d816d.zip
drm/amd: add Kconfig dependency for ACP on DRM_AMDGPU
The DRM_AMD_ACP option doesn't have any dependencies and selects MFD_CORE, which results in MFD_CORE=y. Since the code is only called from DRM_AMDGPU, it should depend on it. Adding the dependency results in MFD_CORE being selected as a module again if amdgpu is also a module. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/acp/Kconfig')
-rw-r--r--drivers/gpu/drm/amd/acp/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/acp/Kconfig b/drivers/gpu/drm/amd/acp/Kconfig
index ca77ec10147c..e503e3d6d920 100644
--- a/drivers/gpu/drm/amd/acp/Kconfig
+++ b/drivers/gpu/drm/amd/acp/Kconfig
@@ -2,6 +2,7 @@ menu "ACP (Audio CoProcessor) Configuration"
config DRM_AMD_ACP
bool "Enable AMD Audio CoProcessor IP support"
+ depends on DRM_AMDGPU
select MFD_CORE
select PM_GENERIC_DOMAINS if PM
help