]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dsi: call dpi_send_cmd() for each dsi port at a higher level
authorJani Nikula <jani.nikula@intel.com>
Fri, 16 Jan 2015 12:27:16 +0000 (14:27 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Jan 2015 08:51:11 +0000 (09:51 +0100)
commitf1450d52cc54ea2670b78033bca3c4ff24f1d3f2
treeee034660842e4e86e673a004b58f018cd6031695
parentc5d57c6ab8044f52c55d53ffea95b28701c14fa8
drm/i915/dsi: call dpi_send_cmd() for each dsi port at a higher level

Instead of having the for each dsi port loop within dpi_send_cmd(), add
a port parameter to the function and call it for each port instead.

This is a rewrite of

commit 7bd31fd3f3140e90e6a16be7c9698656b3524088
Author: Gaurav K Singh <gaurav.k.singh@intel.com>
Date:   Thu Dec 4 10:58:51 2014 +0530

    drm/i915: Dual link needs Shutdown and Turn on packet for both ports

to add more flexibility in using dpi_send_cmd() for just one port as
necessary. No functional changes.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-By: Shobhit Kumar <shobhit.kumar@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dsi.c
drivers/gpu/drm/i915/intel_dsi_cmd.c
drivers/gpu/drm/i915/intel_dsi_cmd.h