OSDN Git Service

drm/i915/dsi: call wait_for_dsi_fifo_empty() for each dsi port
authorJani Nikula <jani.nikula@intel.com>
Fri, 16 Jan 2015 12:27:19 +0000 (14:27 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Jan 2015 08:51:12 +0000 (09:51 +0100)
commit7f6a6a4a19f236ba068a2501f7ee0acc26051cac
tree5df92a8392dbf0afdb93f9a2c3182730f0b9eeb5
parent3b1808bf56ef613f693ac5a592411ef1717c0065
drm/i915/dsi: call wait_for_dsi_fifo_empty() for each dsi port

Add port parameter to wait_for_dsi_fifo_empty, and call it for each dsi
port.

We can now remove the transitional intel_dsi_pipe_to_port() function.

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.h