OSDN Git Service

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)
commit20d3c28ce4e28ac4df9d139054aecb65ee5a9ee4
tree847870e899b5fee029c5c58d907c62d227324c6f
parent70bdb6ed222053bb0e4694f255a685cc3f4981e0
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