Skip to content

Add additional i2c buses

Alex Deucher amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10drm/amd/display/dm: drop extra parameters to create_i2c()drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c+4 -50 replies
2/10drm/amd/display/dm: drop hw_support check in amdgpu_dm_i2c_xfer()drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c+1 -10 replies
3/10drm/amd/display/dc: add a new helper to fetch the OEM ddc_servicedrivers/gpu/drm/amd/display/dc/core/dc_link_exports.c drivers/gpu/drm/amd/display/dc/dc.h+9 -00 replies
4/10drm/amd/display/dm: handle OEM i2c buses in i2c functionsdrivers/gpu/drm/amd/amdgpu/amdgpu_mode.h drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c+21 -90 replies
5/10drm/amd/display/dm: add support for OEM i2c busdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h+42 -00 replies
6/10drm/amd/display/dc: add support for oem i2c in atom_firmware_info_v3_1drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c+12 -10 replies
7/10drm/amd/display/dc: enable oem i2c support for DCE 12.xdrivers/gpu/drm/amd/display/dc/resource/dce120/dce120_resource.c+17 -00 replies
8/10drm/amdgpu/atombios: drop empty functiondrivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c+0 -120 replies
9/10drm/amdgpu: rework i2c init and finidrivers/gpu/drm/amd/amdgpu/amdgpu_device.c drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.h+11 -40 replies
10/10drm/amdgpu: add OEM i2c bus for polaris chipsdrivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c+45 -10 replies

Reviews trailers per patch

None of the 10 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchHarry Wentland
SeriesR-b
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/10] Add additional i2c buses

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(-)
Signature · 1 line
2.47.1