public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel@ffwll.ch>
To: Shobhit Kumar <shobhit.kumar@intel.com>,
	Thierry Reding <treding@nvidia.com>
Cc: jani.nikula@intel.com, vijayakumar.balakrishnan@intel.com,
	intel-gfx <intel-gfx@lists.freedesktop.org>,
	yogesh.mohan.marimuthu@intel.com,
	DRI Development <dri-devel@lists.freedesktop.org>
Subject: Re: [PATCH v2 0/7] drm/i915: Baytrail MIPI DSI support Updated
Date: Sat, 9 Nov 2013 11:28:16 +0100	[thread overview]
Message-ID: <20131109102816.GJ14082@phenom.ffwll.local> (raw)
In-Reply-To: <1383990548-30737-1-git-send-email-shobhit.kumar@intel.com>

On Sat, Nov 09, 2013 at 03:19:01PM +0530, Shobhit Kumar wrote:
> Hi All - 
> These patches enhance the current support for MIPI DSI for Baytrail. They
> continue on the sub-encoder design and adds few more dev_ops to handle
> sequence correctly. Major changes are -
> 
> 1. DSI Clock calculation based on pixel clock
> 2. Add new dev_ops for better sequencing the enable/disable path
> 3. Parameterized the hardcoded DSI parameters. These also forms building
>    block for the generic MIPI driver to come in future based on enhancements
>    in VBT. All these parameters are initialized or computed in the sub-encoder
>    driver. Some of them might look unneccesary for now.
> 
>  I am also aware of the drm_bridge support now comming in and will in future
>  migrate from sub-encoder design to drm_bridge.

Just a quick aside: Thierry Reding from nvidia is also working on a DSI
design for the tegra driver. Atm he seems to aim for a full-blown DSI bus
based on his drm_panel patches for getting the panel metadata out of an
ARM DT (we'd use VBT instead). Iirc there's no patches anywhere yet, but
maybe Thierry could share a git branch somewhere with the wip stuff?

Cc'ing Thierry and dri-devel in case a bigger discussion develops.

Cheers, Daniel

> 
> This DSI sequence has been validated with couple of test panels and is working now.
> Still no sub-encoder driver is included and this support will be mostly be disabled
> untill a panel sub-encoder driver is added. Proper detection or VBT is still pending.
> 
> v2: Mostly changes from review comments from Jani Nikula and Ville Syrjala
>     - Split the parameters into new patch
>     - Split the dsi_clk computation and m-n-p modification in separate patches
>     - The DSI sequence refactoring has been splitted into multiple patches and also
>       few code changes are not needed after reworking/relooking at them and have been
>       removed
>     - Backlight enabling has been removed as that depends on platform PMIC driver which
>       is not yet there in upstream kernel. Will be added later.
>     - Other general code cleanup as suggested
>     - drm/i915: Use FLISDSI interface for band gap reset - has no changes and is included 
>       for completeness of the patch set
> 
> Regards
> Shobhit
> 
> Shobhit Kumar (7):
>   drm/i915: Add more dev ops for MIPI sub encoder
>   drm/i915: Use FLISDSI interface for band gap reset
>   drm/i915: Compute dsi_clk from pixel clock
>   drm/i915: Try harder to get best m,n,p values with minimal error
>   drm/i915: Reorganize the DSI enable/disable sequence
>   drm/i915: Remove redundant DSI PLL enabling
>   drm/i915: Parametrize the dphy and other spec specific parameters
> 
>  drivers/gpu/drm/i915/i915_drv.h       |   13 +++
>  drivers/gpu/drm/i915/i915_reg.h       |    1 +
>  drivers/gpu/drm/i915/intel_dsi.c      |  187 ++++++++++++++++++---------------
>  drivers/gpu/drm/i915/intel_dsi.h      |   21 ++++
>  drivers/gpu/drm/i915/intel_dsi_pll.c  |   72 ++++++++++---
>  drivers/gpu/drm/i915/intel_sideband.c |   14 +++
>  6 files changed, 209 insertions(+), 99 deletions(-)
> 
> -- 
> 1.7.9.5
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

  parent reply	other threads:[~2013-11-09 10:27 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-09  9:49 [PATCH v2 0/7] drm/i915: Baytrail MIPI DSI support Updated Shobhit Kumar
2013-11-09  9:49 ` [PATCH v2 1/7] drm/i915: Add more dev ops for MIPI sub encoder Shobhit Kumar
2013-11-15  8:29   ` Jani Nikula
2013-11-09  9:49 ` [PATCH v2 2/7] drm/i915: Use FLISDSI interface for band gap reset Shobhit Kumar
2013-11-15  9:10   ` Jani Nikula
2013-11-09  9:49 ` [PATCH v2 3/7] drm/i915: Compute dsi_clk from pixel clock Shobhit Kumar
2013-11-15  7:22   ` Jani Nikula
2013-11-15  8:40     ` Jani Nikula
2013-11-09  9:49 ` [PATCH v2 4/7] drm/i915: Try harder to get best m, n, p values with minimal error Shobhit Kumar
2013-11-15  7:19   ` Jani Nikula
2013-11-09  9:49 ` [PATCH v2 5/7] drm/i915: Reorganize the DSI enable/disable sequence Shobhit Kumar
2013-11-15  8:27   ` Jani Nikula
2013-11-15  8:55     ` Daniel Vetter
2013-11-20  1:39       ` Shobhit Kumar
2013-12-06 11:20         ` Shobhit Kumar
2013-12-06 11:25     ` Shobhit Kumar
2013-11-09  9:49 ` [PATCH v2 6/7] drm/i915: Remove redundant DSI PLL enabling Shobhit Kumar
2013-11-15  8:41   ` Jani Nikula
2013-11-09  9:49 ` [PATCH v2 7/7] drm/i915: Parametrize the dphy and other spec specific parameters Shobhit Kumar
2013-11-15  7:52   ` Jani Nikula
2013-11-15  8:42     ` Jani Nikula
2013-11-09 10:28 ` Daniel Vetter [this message]
2013-11-11  8:50   ` [Intel-gfx] [PATCH v2 0/7] drm/i915: Baytrail MIPI DSI support Updated Thierry Reding
2013-11-11 10:28     ` Shobhit Kumar
     [not found]       ` <52A7F4A0.6050902@intel.com>
     [not found]         ` <CAKMK7uGU=R3j1TDgLZzUKtztrY6P_akzHHeWEQy_Jw7DdQpiTg@mail.gmail.com>
     [not found]           ` <87r49j60ym.fsf@intel.com>
     [not found]             ` <52A86FF2.5050200@intel.com>
     [not found]               ` <CAKMK7uGA-ENZRQySGVrDkBy7dTOigkKpwpTn63rfGM+UAGvPZA@mail.gmail.com>
2013-12-11 14:25                 ` Daniel Vetter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131109102816.GJ14082@phenom.ffwll.local \
    --to=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    --cc=shobhit.kumar@intel.com \
    --cc=treding@nvidia.com \
    --cc=vijayakumar.balakrishnan@intel.com \
    --cc=yogesh.mohan.marimuthu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox