]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: optimize i2c bus access implementation
authorEvan Quan <evan.quan@amd.com>
Thu, 13 Aug 2020 03:51:11 +0000 (11:51 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Aug 2020 20:22:41 +0000 (16:22 -0400)
commitbfd2c2d83ea74357c4a7bd8e5b8c82bb6b3f15a0
tree847870e899b5fee029c5c58d907c62d227324c6f
parent19969b64049e8cf061f00ac8564e6b5c323d0023
drm/amd/powerplay: optimize i2c bus access implementation

The caller needs not care about the internal details how the powerplay
API implemented.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Nirmoy Das <nirmoy.das@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h
drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c