]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: analogix_dp: Remove duplicated code
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Fri, 5 Aug 2016 12:59:03 +0000 (14:59 +0200)
committerSean Paul <seanpaul@chromium.org>
Wed, 21 Sep 2016 13:55:48 +0000 (06:55 -0700)
commitd2f12adc004dd83ce700ecaebabd4f802a586370
tree151c40f6c42ba3cc6a2365d72e6b1ac33ba07165
parent604bac48a7d97b305b126731c443e79a78253582
drm/bridge: analogix_dp: Remove duplicated code

Remove code for reading the EDID and DPCD fields and use the helpers
instead.

Besides the obvious code reduction, other helpers are being added to the
core that could be used in this driver and will be good to be able to
use them instead of duplicating them.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Tested-by: Javier Martinez Canillas <javier@osg.samsung.com>
Tested-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Yakir Yang <ykk@rock-chips.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Cc: Javier Martinez Canillas <javier@osg.samsung.com>
Cc: Mika Kahola <mika.kahola@intel.com>
Cc: Yakir Yang <ykk@rock-chips.com>
Cc: Daniel Vetter <daniel.vetter@intel.com>
Cc: Archit Taneja <architt@codeaurora.org>
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
drivers/gpu/drm/bridge/analogix/analogix_dp_core.h
drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c