]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu: add new helper for handling EEPROM i2c transfers
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 21 Jan 2021 19:41:27 +0000 (14:41 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Jul 2021 04:24:39 +0000 (00:24 -0400)
commit00e3a289d9e259a383e306d45b8052b8e69d6a8c
tree03fd5bf5f6565b95b4b2659e5b7839933eb9f594
parentaf01340bc423de0ca1cbfda90dbda71860702f68
drm/amdgpu: add new helper for handling EEPROM i2c transfers

Encapsulates the i2c protocol handling so other parts of the
driver can just tell it the offset and size of data to write.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Luben Tuikov <luben.tuikov@amd.com>
drivers/gpu/drm/amd/amdgpu/Makefile
drivers/gpu/drm/amd/amdgpu/amdgpu_eeprom.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/amdgpu_eeprom.h [new file with mode: 0644]