[PATCH 00/10] Add additional i2c buses

Harry Wentland harry.wentland at amd.com
Fri Jan 10 18:41:59 UTC 2025


Series is
Reviewed-by: Harry Wentland <harry.wentland at amd.com>

Harry

On 2025-01-06 15:33, Alex Deucher wrote:
> At the momemt we only expose the i2c buses used by the driver
> for displays or EEPROMs.  However, some OEMs/AIBs use extra i2c
> buses for things like RGB controls. Expose the extra i2c buses in
> case the OEM uses one of them.
> 
> Alex Deucher (10):
>   drm/amd/display/dm: drop extra parameters to create_i2c()
>   drm/amd/display/dm: drop hw_support check in amdgpu_dm_i2c_xfer()
>   drm/amd/display/dc: add a new helper to fetch the OEM ddc_service
>   drm/amd/display/dm: handle OEM i2c buses in i2c functions
>   drm/amd/display/dm: add support for OEM i2c bus
>   drm/amd/display/dc: add support for oem i2c in atom_firmware_info_v3_1
>   drm/amd/display/dc: enable oem i2c support for DCE 12.x
>   drm/amdgpu/atombios: drop empty function
>   drm/amdgpu: rework i2c init and fini
>   drm/amdgpu: add OEM i2c bus for polaris chips
> 
>  drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c  | 44 ++++++++----
>  drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h  |  1 +
>  drivers/gpu/drm/amd/amdgpu/amdgpu_device.c    |  6 +-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c       | 19 ++++++
>  drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.h       |  1 +
>  drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h      |  1 +
>  .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 67 ++++++++++++++++---
>  .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h |  7 ++
>  .../drm/amd/display/dc/bios/bios_parser2.c    | 13 +++-
>  .../drm/amd/display/dc/core/dc_link_exports.c |  6 ++
>  drivers/gpu/drm/amd/display/dc/dc.h           |  3 +
>  .../dc/resource/dce120/dce120_resource.c      | 17 +++++
>  12 files changed, 157 insertions(+), 28 deletions(-)
> 



More information about the amd-gfx mailing list