summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_dsi_vbt.c
diff options
context:
space:
mode:
authorJani Nikula2018-07-05 15:25:08 +0200
committerJani Nikula2018-07-06 09:54:05 +0200
commite518634b4366d2fe874d36e6394693b1be0a9f44 (patch)
tree4c5d1914a195666e638d47a9f782708357b669ed /drivers/gpu/drm/i915/intel_dsi_vbt.c
parentdrm/i915/dsi: rename the current DSI files based on first platform (diff)
downloadkernel-qcow2-linux-e518634b4366d2fe874d36e6394693b1be0a9f44.tar.gz
kernel-qcow2-linux-e518634b4366d2fe874d36e6394693b1be0a9f44.tar.xz
kernel-qcow2-linux-e518634b4366d2fe874d36e6394693b1be0a9f44.zip
drm/i915/dsi: use vlv and bxt prefixes for the global DSI functions
Avoid confusion with the functions to be added for the new ICL or gen 11 DSI implementation by renaming the current DSI functions. While at it, permutate the words in the function names to make them all start with "vlv_dsi" or "vlv_dsi_pll" etc. Reduce the platform abstractions in the PLL file while at it, moving the checks to vlv_dsi.c instead, where we typically already have the necessary if ladders. Leave the static functions as-is for now; they could be renamed later if needed. No functional changes. v2: use "gen7" prefix. v3: use "vlv" and "bxt" prefixes, reduce the abstractions. References: https://patchwork.freedesktop.org/series/44823/ Cc: Madhav Chauhan <madhav.chauhan@intel.com> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Madhav Chauhan <madhav.chauhan@intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180705132509.12881-2-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dsi_vbt.c')
-rw-r--r--drivers/gpu/drm/i915/intel_dsi_vbt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_dsi_vbt.c b/drivers/gpu/drm/i915/intel_dsi_vbt.c
index 4d6ffa7b3e7b..ac83d6b89ae0 100644
--- a/drivers/gpu/drm/i915/intel_dsi_vbt.c
+++ b/drivers/gpu/drm/i915/intel_dsi_vbt.c
@@ -181,7 +181,7 @@ static const u8 *mipi_exec_send_packet(struct intel_dsi *intel_dsi,
break;
}
- wait_for_dsi_fifo_empty(intel_dsi, port);
+ vlv_dsi_wait_for_fifo_empty(intel_dsi, port);
out:
data += len;