summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2024-12-19 21:05:34 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-02-13 05:02:54 +0300
commit20f48be63d1ad0ffa359c9612612876544669339 (patch)
tree53eb5002ea6576daeed7201ea8886160448c2c2c /drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h
parent1c0b144bf7628a62575a4ec26623f7a6cdf0cb2b (diff)
downloadlinux-20f48be63d1ad0ffa359c9612612876544669339.tar.xz
drm/amdgpu: add OEM i2c bus for polaris chips
It uses the VGADCC bus. DC doesn't use this bus, so it is safe to add it here. Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h
index 0e16432d9a72..867bc5c5ce67 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h
@@ -136,6 +136,7 @@ amdgpu_atombios_lookup_gpio(struct amdgpu_device *adev,
struct amdgpu_i2c_bus_rec amdgpu_atombios_lookup_i2c_gpio(struct amdgpu_device *adev,
uint8_t id);
void amdgpu_atombios_i2c_init(struct amdgpu_device *adev);
+void amdgpu_atombios_oem_i2c_init(struct amdgpu_device *adev, u8 i2c_id);
bool amdgpu_atombios_has_dce_engine_info(struct amdgpu_device *adev);