dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amd: add Kconfig dependency for ACP on DRM_AMDGPU
@ 2016-05-24 17:47 Jeff Mahoney
  2016-05-25 14:06 ` Alex Deucher
  2016-05-25 21:09 ` Emil Velikov
  0 siblings, 2 replies; 6+ messages in thread
From: Jeff Mahoney @ 2016-05-24 17:47 UTC (permalink / raw)
  To: Alex Deucher, dri-devel

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>
---
 drivers/gpu/drm/amd/acp/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/acp/Kconfig b/drivers/gpu/drm/amd/acp/Kconfig
index ca77ec1..e503e3d 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


-- 
Jeff Mahoney
SUSE Labs
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-05-27 16:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-24 17:47 [PATCH] drm/amd: add Kconfig dependency for ACP on DRM_AMDGPU Jeff Mahoney
2016-05-25 14:06 ` Alex Deucher
2016-05-25 21:09 ` Emil Velikov
2016-05-26 13:52   ` Jeff Mahoney
2016-05-26 23:36     ` Emil Velikov
2016-05-27 16:50       ` Alex Deucher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox