Re: [PATCH v8 36/38] drm/i915/icl: Don't wait for empty FIFO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 30 Oct 2018, Jani Nikula <jani.nikula@xxxxxxxxx> wrote:
> From: Madhav Chauhan <madhav.chauhan@xxxxxxxxx>
>
> 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@xxxxxxxxx>
> Reviewed-by: Jani Nikula <jani.nikula@xxxxxxxxx>
> Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx>

Pushed to dinq.

BR,
Jani.


> ---
>  drivers/gpu/drm/i915/intel_dsi_vbt.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_dsi_vbt.c b/drivers/gpu/drm/i915/intel_dsi_vbt.c
> index 04423248bbd7..e6686dbdf462 100644
> --- a/drivers/gpu/drm/i915/intel_dsi_vbt.c
> +++ b/drivers/gpu/drm/i915/intel_dsi_vbt.c
> @@ -123,6 +123,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;
> @@ -193,7 +194,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;

-- 
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux