]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: rework i2c init and fini
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Dec 2024 17:50:43 +0000 (12:50 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Feb 2025 02:02:54 +0000 (21:02 -0500)
commit1c0b144bf7628a62575a4ec26623f7a6cdf0cb2b
tree7082e1fd7daf521892c06fa712efad734ebda025
parentba7f8eb7e447a8120f5bcb8e8d72964324ee5b84
drm/amdgpu: rework i2c init and fini

No functional change.  Rework the code to allow for
adding some additional i2c buses in conjunction with DC
in the future.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c
drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.h