projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf4d57f
)
drm/i915/icl: Don't wait for empty FIFO
author
Madhav Chauhan
<madhav.chauhan@intel.com>
Tue, 30 Oct 2018 11:56:42 +0000
(13:56 +0200)
committer
Jani Nikula
<jani.nikula@intel.com>
Thu, 1 Nov 2018 10:24:56 +0000
(12:24 +0200)
For Gen11 DSI, we don't need to wait for getting
DSI FIFO empty after sending DCS commands.
Signed-off-by: Madhav Chauhan <madhav.chauhan@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/5e078a0274c1fba2521cb14d7d02fd1038ec1b0e.1540900289.git.jani.nikula@intel.com
drivers/gpu/drm/i915/intel_dsi_vbt.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_dsi_vbt.c
b/drivers/gpu/drm/i915/intel_dsi_vbt.c
index 80bd56e96143f0e92c415ce7acf85e1e5dec65ed..a72de81f4832381e21900f72fdbbc3e116c75bae 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_dsi_vbt.c
+++ b/
drivers/gpu/drm/i915/intel_dsi_vbt.c
@@
-111,6
+111,7
@@
static inline enum port intel_dsi_seq_port_to_port(u8 port)
static const u8 *mipi_exec_send_packet(struct intel_dsi *intel_dsi,
const u8 *data)
{
+ struct drm_i915_private *dev_priv = to_i915(intel_dsi->base.base.dev);
struct mipi_dsi_device *dsi_device;
u8 type, flags, seq_port;
u16 len;
@@
-181,7
+182,8
@@
static const u8 *mipi_exec_send_packet(struct intel_dsi *intel_dsi,
break;
}
- vlv_dsi_wait_for_fifo_empty(intel_dsi, port);
+ if (!IS_ICELAKE(dev_priv))
+ vlv_dsi_wait_for_fifo_empty(intel_dsi, port);
out:
data += len;