drm/amdgpu: fix Kconfig for ISP
Subsystems (2)
Alex Deucher
maintainerPATCH 1/1 drm/amdgpu: fix Kconfig for ISP
Add new config option and set proper dependencies for ISP.
Signed-off-by Alex Deucher <[email protected]>
Cc Pratap Nirujogi <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/Kconfig | 1 + drivers/gpu/drm/amd/amdgpu/Makefile | 2 ++ drivers/gpu/drm/amd/isp/Kconfig | 17 +++++++++++++++++ 3 files changed, 20 insertions(+) create mode 100644 drivers/gpu/drm/amd/isp/Kconfig
drivers/gpu/drm/amd/amdgpu/Kconfig +1 -0
@@ -83,3 +83,4 @@ config DRM_AMDGPU_WERROR source "drivers/gpu/drm/amd/acp/Kconfig" source "drivers/gpu/drm/amd/display/Kconfig" source "drivers/gpu/drm/amd/amdkfd/Kconfig" +source "drivers/gpu/drm/amd/isp/Kconfig"
drivers/gpu/drm/amd/amdgpu/Makefile +2 -0
@@ -325,6 +325,8 @@ amdgpu-y += $(AMD_DISPLAY_FILES) endif # add isp block +ifneq ($(CONFIG_DRM_AMD_ISP),) amdgpu-y += amdgpu_isp.o +endif obj-$(CONFIG_DRM_AMDGPU)+= amdgpu.o
drivers/gpu/drm/amd/isp/Kconfig new file +17 -0
@@ -0,0 +1,17 @@ +# SPDX-License-Identifier: MIT +menu "ISP (Image Signal Processor) Configuration" + depends on DRM_AMDGPU + +config DRM_AMD_ISP + bool "Enable AMD Image Signal Processor IP support" + depends on DRM_AMDGPU + select MFD_CORE + select PM_GENERIC_DOMAINS if PM + help + Choose this option to enable ISP IP support for AMD SOCs. + This adds the ISP (Image Signal Processor) IP driver and wires + it up into the amdgpu driver. The ACP block provides the DMA + engine for the V4L mipi driver. It is required for camera + on APUs which utilize a mipi camera. + +endmenu
Signature · 1 line
2.45.0
Ignore this. Better, functional patch sent out.
Alex
Quoted 60 lines · Alex Deucher
Add new config option and set proper dependencies for ISP.
Signed-off-by Alex Deucher <[email protected]>Cc Pratap Nirujogi <[email protected]>--- drivers/gpu/drm/amd/amdgpu/Kconfig | 1 + drivers/gpu/drm/amd/amdgpu/Makefile | 2 ++ drivers/gpu/drm/amd/isp/Kconfig | 17 +++++++++++++++++ 3 files changed, 20 insertions(+) create mode 100644 drivers/gpu/drm/amd/isp/Kconfigdrivers/gpu/drm/amd/amdgpu/Kconfig +1
-0@@ -83,3 +83,4 @@ config DRM_AMDGPU_WERROR source "drivers/gpu/drm/amd/acp/Kconfig" source "drivers/gpu/drm/amd/display/Kconfig" source "drivers/gpu/drm/amd/amdkfd/Kconfig" +source "drivers/gpu/drm/amd/isp/Kconfig"drivers/gpu/drm/amd/amdgpu/Makefile +2
-0@@ -325,6 +325,8 @@ amdgpu-y += $(AMD_DISPLAY_FILES) endif # add isp block +ifneq ($(CONFIG_DRM_AMD_ISP),) amdgpu-y += amdgpu_isp.o +endif obj-$(CONFIG_DRM_AMDGPU)+= amdgpu.odrivers/gpu/drm/amd/isp/Kconfig new file +17
-1@@ -0,0 +1,17 @@ +# SPDX-License-Identifier: MIT +menu "ISP (Image Signal Processor) Configuration" + depends on DRM_AMDGPU + +config DRM_AMD_ISP + bool "Enable AMD Image Signal Processor IP support" + depends on DRM_AMDGPU + select MFD_CORE + select PM_GENERIC_DOMAINS if PM + help + Choose this option to enable ISP IP support for AMD SOCs. + This adds the ISP (Image Signal Processor) IP driver and wires + it up into the amdgpu driver. The ACP block provides the DMA + engine for the V4L mipi driver. It is required for camera + on APUs which utilize a mipi camera. + +endmenu --2.45.0