]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Combine dce80 and dce100 i2c hw functions
authorDavid Francis <David.Francis@amd.com>
Thu, 9 Aug 2018 17:15:36 +0000 (13:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:11:06 +0000 (11:11 -0500)
commit67aed21727e2f1f1a6c195c418546e1c9203ea9b
treecc6b928e812cb6f1c6ae8bb157e4cb93facbf625
parent5e9cd181998aad17483f4756732c65e6623e5007
drm/amd/display: Combine dce80 and dce100 i2c hw functions

[Why]
There are two versions of the hw function pointers: one for dce80
and one for all other versions.  These paired functions are
nearly identical.  dce80 and dce100 should not require
different i2c access functions.

[How]
Combine each pair of functions into a single function.  Mostly
the new functions are based on the dce100 versions as those
versions are newer, support more features, and
were more maintained.

Signed-off-by: David Francis <David.Francis@amd.com>
Reviewed-by: Sun peng Li <Sunpeng.Li@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.c