<div dir="ltr"><div>fyi,<br><br></div>dmesg log for dsi<br><a href="http://pastebin.com/nD68gNNM">http://pastebin.com/nD68gNNM</a><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">Regards,<div>vinay simha</div></div></div></div>
<br><div class="gmail_quote">On Wed, Apr 15, 2015 at 8:04 PM, vinay simha <span dir="ltr"><<a href="mailto:vinaysimha@inforcecomputing.com" target="_blank">vinaysimha@inforcecomputing.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hai,<div><br></div><div>i tried both mipi_dsi_generic_write and mipi_dsi_dcs_write_buffer. It doesn't returns error but there is no change in the display panel. if we write 0x11, 0x29 and 0x23 to panel , all pixels should be on in dsi panel. but nothing happens.</div><div><br></div><div>fyi, attached dmesg log</div><div><br></div><div>I will check on the encoder.</div></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr">Regards,<div>vinay simha</div></div></div></div><div><div class="h5">
<br><div class="gmail_quote">On Wed, Apr 15, 2015 at 7:50 PM, <span dir="ltr"><<a href="mailto:hali@codeaurora.org" target="_blank">hali@codeaurora.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Vinay,<br>
<div><div>> On Wed, Apr 15, 2015 at 9:22 AM, vinay simha<br>
> <<a href="mailto:vinaysimha@inforcecomputing.com" target="_blank">vinaysimha@inforcecomputing.com</a>> wrote:<br>
>> Hai,<br>
>><br>
>> added the panel in dts, now the new panel-truly is getting probed.<br>
>> updated<br>
>> my branch<br>
>> <a href="https://github.com/vinaysimha/kernel-msm-ifc6410/commits/ifc6540-drm-4.4.4-dsi" target="_blank">https://github.com/vinaysimha/kernel-msm-ifc6410/commits/ifc6540-drm-4.4.4-dsi</a><br>
>><br>
>> panel backlight is up, hdmi display is coming. No data in the dsi.<br>
>> i had not used this function dsi_host_init_panel_gpios, since gpiolib.c<br>
>> is<br>
>> different from 4.x kernel to 3.10.40 kernel. i handled the gpios in<br>
>> panel-truly.c<br>
>><br>
>> Does these reg address are correct ?<br>
>><br>
>> mdss_dsi0: qcom,mdss_dsi@fd922800<br>
>> reg = <0xfd922800 0x200>,<br>
>> <0xfd922b00 0x20c>,<br>
>> <0xfd922d80 0x20>,<br>
>> <0xfd828000 0x108>;<br>
>> reg-names = "dsi_ctrl", "dsi_phy", "dsi_phy_regulator",<br>
>> "mmss_misc_phys";<br>
>><br>
>> }<br>
>><br>
>> When i tried the modetest,<br>
>> hdmi encoders is set properly to 32 , crtc 20<br>
>> But for the dsi encoder set to 1 is not correct i guess. It should be<br>
>> 29.<br>
><br>
> fwiw, I tihnk "1" is number of modes, and there are no encoders..<br>
><br>
> btw, that modetest output made me realize that modetest needed to be<br>
> updated with new encoder/connector names.. I just pushed a fix so it<br>
> won't show "invalid" for DSI connector/encoder types:<br>
><br>
> <a href="http://cgit.freedesktop.org/mesa/drm/commit/?id=0d78b37b1cac304ce5e84d1207f0a43abd29c000" target="_blank">http://cgit.freedesktop.org/mesa/drm/commit/?id=0d78b37b1cac304ce5e84d1207f0a43abd29c000</a><br>
><br>
> BR,<br>
> -R<br>
><br>
><br>
>> Any suggestions?<br>
>><br>
>> -----------------------------------<br>
>> Encoders:<br>
>> id crtc type possible crtcs possible clones<br>
>> 29 18 (invalid) 0x0000000f 0x00000000<br>
>> 30 0 (invalid) 0x0000000f 0x00000000<br>
>> 32 20 TMDS 0x0000000f 0x00000000<br>
>><br>
>> ************************************************<br>
>> Connectors:<br>
>> id encoder status type size (mm) modes encoders<br>
>> 31 29 connected (invalid) 0x0 1<br>
>> ************************************************<br>
>> modes:<br>
>> name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)<br>
>> 480x864 60 480 526 530 574 864 879 880 896 flags: ; type:<br>
>> props:<br>
>> 1 EDID:<br>
>> flags: immutable blob<br>
>> blobs:<br>
>><br>
>> value:<br>
>> 2 DPMS:<br>
>> flags: enum<br>
>> enums: On=0 Standby=1 Suspend=2 Off=3<br>
>> value: 0<br>
>> ***********************************************<br>
>> 33 32 connected HDMI-A 480x270 28 32<br>
>> ***********************************************<br>
>> modes:<br>
>> name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)<br>
>> 1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 flags: phsync,<br>
>> pvsync; type: preferred, driver<br>
>> 1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 flags: phsync,<br>
>> pvsync; type: driver<br>
>><br>
>> CRTCs:<br>
>> id fb pos size<br>
>> 18 60 (0,0) (480x864)<br>
>> 480x864 60 480 526 530 574 864 879 880 896 flags: ; type:<br>
>> props:<br>
>> 20 60 (0,0) (1920x1080)<br>
>> 1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 flags: phsync,<br>
>> pvsync; type: preferred, driver<br>
>> props:<br>
>> -----------------------------------------------------<br>
>><br>
>> Regards,<br>
>> vinay simha<br>
>><br>
<br>
</div></div>Is there error message during power on? Are the commands sent to the panel<br>
successfully?<br>
Also, it is worth to check why modetest returns no encoder.<br>
<br>
Thanks,<br>
Hai<br>
<br>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>