<div dir="ltr">rob, <div><br></div><div>i tried using <span style="font-size:12.8px">dsi_mgr_parse_dual_dsi , but dsi1 is not getting enabled for some reason, may be TODO:apq8064 more when we use dual dsi in dts.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">so i am trying without using </span><span style="font-size:12.8px">dsi_mgr_parse_dual_dsi/dual dsi in dts</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">after modifying dsi_manager.c , now userspace is assuming as single display for two encoders</span></div><div><span style="font-size:12.8px"><br></span></div><div>dsi_mgr_connector_get_modes<span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"> if (IS_DUAL_DSI() || id == DSI_1 )</span><br></div><div><span style="font-size:12.8px">dsi_dual_connector_tile_init</span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">thanks.</span></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 14, 2017 at 7:21 PM, Rob Clark <span dir="ltr"><<a href="mailto:robdclark@gmail.com" target="_blank">robdclark@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, Jun 14, 2017 at 7:25 AM, Vinay Simha B N <<a href="mailto:simhavcs@gmail.com">simhavcs@gmail.com</a>> wrote:<br>
> hi,<br>
><br>
> i am having two encoders dsi1 and dsi2 of same resolution, i want to<br>
> configure as single resolution 960x864,<br>
><br>
> after configuring as right-of , i got 960x864 resolution, but not able to<br>
> use as single fb as of xinerma<br>
> xrandr --output DSI-1 --mode 480x864 --right-of DSI-2<br>
><br>
> root@linaro-alip:~# xrandr<br>
> Screen 0: minimum 320 x 200, current 960 x 864, maximum 2048 x 2048<br>
> DSI-1 connected 480x864+480+0 (normal left inverted right x axis y axis) 0mm<br>
> x 0mm<br>
>    480x864       60.00*<br>
> DSI-2 connected 480x864+0+0 (normal left inverted right x axis y axis) 0mm x<br>
> 0mm<br>
>    480x864       60.00*<br>
><br>
> any suggestions on how to configure it as xinerma? if not possible i guess<br>
> need to modify the drm fbdev and divide the buffer(h/2) to left and right<br>
> encoders.<br>
<br>
<br>
</span>You probably don't want to use xinerama, but normal xrandr commands should work.<br>
<br>
But you probably want to have the kernel put TILE mode properties on<br>
the connector (similar to DP MST display) so userspace realizes this<br>
is logically a single display and sets things up automatically.  See<br>
drm_mode_create_tile_group().  The code should already be in place to<br>
call this but maybe you are missing the dt property?  See<br>
dsi_mgr_parse_dual_dsi().<br>
<br>
xf86-video-freedreno might not handle the TILE properties properly,<br>
but xf86-video-modesetting should (and is the ddx driver that everyone<br>
should be using unless you have a very old xserver)<br>
<br>
BR,<br>
-R<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">regards,<br>vinaysimha</div>
</div>