From: "Hai Li" <hali@codeaurora.org>
To: 'Rob Clark' <robdclark@gmail.com>,
"'Johansson, Werner'" <Werner.Johansson@sonymobile.com>
Cc: dri-devel@lists.freedesktop.org
Subject: RE: drm/msm/dsi: hs_zero timing
Date: Mon, 24 Aug 2015 10:32:34 -0400 [thread overview]
Message-ID: <03e301d0de79$b8975940$29c60bc0$@codeaurora.org> (raw)
In-Reply-To: <CAF6AEGtWucQ9rPJN+iEgZat2w2e-SHrZshxX5cGzU74X-HmP0Q@mail.gmail.com>
Hi Werner,
Yes, the register is to adjust hs_zero.
Could you share the panel's video timing and dphy timings (or the panel DT), used by downstream driver?
The dphy timing calculations in the phy driver are from the excel sheet as well, I can check if there is any issue inside the calculation code making the difference.
Thanks,
Hai
-----Original Message-----
From: Rob Clark [mailto:robdclark@gmail.com]
Sent: Saturday, August 22, 2015 9:25 AM
To: Johansson, Werner
Cc: Hai Li; dri-devel@lists.freedesktop.org
Subject: Re: drm/msm/dsi: hs_zero timing
On Fri, Aug 21, 2015 at 4:38 PM, Johansson, Werner <Werner.Johansson@sonymobile.com> wrote:
>> From: Hai Li [mailto:hali@codeaurora.org]
>> Sent: den 21 augusti 2015 12:56
>>
>> When I made DSI changes, I tried to limit the information in DT (like
>> our downstream driver), until there is a case driver really cannot
>> figure it out by the existing information.
>> I think this is the requirement of upstream kernel.
>>
>> If we see a panel requires different value in PHY_LN_CFG_4(x) ga
>> register and cannot derive it from any other timings, we could think
>> about adding it into DT.
>
> Not sure how these skew values can be determined from the rest of the timing? Am I correct in my understanding that these registers would compensate for differences in physical length of the dsi lanes, or are they designed for a different purpose? The documentation is very vague on this point. Adjusting the values down to the default zero still works fine on the other panels (and enabled the Panasonic panel to work properly too).
>
fwiw, if the values are related to the physical cabling/wiring, rather than the panel timing, we should probably get them from DT..
if a combination of the timing and the wiring, that gets a bit more complicated
(I am not actually sure myself about these)
BR,
-R
>> Also, I am wondering if this Panasonic WUXGA panel works with
>> downstream driver, since I see the same hardcoded values set for all
>> the panels.
>
> We have the Panasonic WUXGA panel working with the downstream driver (it's shipping in our Xperia Z2 tablets). The problem with our shipping kernel is that the timing values are derived from the Qualcomm Excel sheet and then hardcoded (in DT), the timing is not calculated on the fly as is the case here. It's very easy to just modify hs_zero value up or down one notch manually when having the timing hardcoded, but such a solution is certainly not generic.
>
> Thanks!
> /wj
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2015-08-24 14:32 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-21 18:26 drm/msm/dsi: hs_zero timing Johansson, Werner
2015-08-21 19:55 ` Hai Li
2015-08-21 20:38 ` Johansson, Werner
2015-08-22 13:25 ` Rob Clark
2015-08-24 6:17 ` Werner Johansson
2015-08-24 14:32 ` Hai Li [this message]
2015-08-25 1:23 ` Werner Johansson
2015-08-26 15:34 ` Hai Li
2015-08-26 17:39 ` Werner Johansson
2015-08-26 17:46 ` Rob Clark
2015-08-26 18:22 ` Werner Johansson
2015-08-26 18:31 ` Rob Clark
2015-08-27 1:42 ` Werner Johansson
2015-08-28 5:56 ` Archit Taneja
2015-08-28 6:09 ` Werner Johansson
2015-09-01 15:59 ` Hai Li
2015-09-01 16:27 ` Werner Johansson
2015-08-28 14:12 ` hali
2015-08-26 17:49 ` Hai Li
2015-08-26 18:04 ` Werner Johansson
-- strict thread matches above, loose matches on Subject: below --
2015-08-21 18:13 Werner Johansson
2015-08-21 1:08 Johansson, Werner
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='03e301d0de79$b8975940$29c60bc0$@codeaurora.org' \
--to=hali@codeaurora.org \
--cc=Werner.Johansson@sonymobile.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=robdclark@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.