drm/amd/amdgpu: Add ISP Generic PM Domain (genpd) support
authorPratap Nirujogi <pratap.nirujogi@amd.com>
Thu, 29 May 2025 19:21:48 +0000 (15:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Jun 2025 14:02:50 +0000 (10:02 -0400)
commitfd14786071021bb63b0ab32b95257a594e46f8d4
treefcf448df35fcefa19053763f8e4faa311c450045
parent9bed716f8722999a2b15a2e5df4dfca48e4c06c9
drm/amd/amdgpu: Add ISP Generic PM Domain (genpd) support

AMDISP I2C device requires to power on ISP HW to probe the sensor
device. Instead of using the exported symbols from ISP driver to
control the power and clocks remotely,added Generic PM Domain (genpd)
support in amdgpu_isp device for its child devices (amd_isp_capture,
amd_isp_i2c_designware) to set power and clocks using PM methods.

Co-developed-by: Bin Du <bin.du@amd.com>
Signed-off-by: Bin Du <bin.du@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Pratap Nirujogi <pratap.nirujogi@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_isp.h
drivers/gpu/drm/amd/amdgpu/isp_v4_1_1.c