[Freedreno] xinerma - xrandr apq8064 drm fbdev
Rob Clark
robdclark at gmail.com
Wed Jun 14 13:51:37 UTC 2017
On Wed, Jun 14, 2017 at 7:25 AM, Vinay Simha B N <simhavcs at gmail.com> wrote:
> hi,
>
> i am having two encoders dsi1 and dsi2 of same resolution, i want to
> configure as single resolution 960x864,
>
> after configuring as right-of , i got 960x864 resolution, but not able to
> use as single fb as of xinerma
> xrandr --output DSI-1 --mode 480x864 --right-of DSI-2
>
> root at linaro-alip:~# xrandr
> Screen 0: minimum 320 x 200, current 960 x 864, maximum 2048 x 2048
> DSI-1 connected 480x864+480+0 (normal left inverted right x axis y axis) 0mm
> x 0mm
> 480x864 60.00*
> DSI-2 connected 480x864+0+0 (normal left inverted right x axis y axis) 0mm x
> 0mm
> 480x864 60.00*
>
> any suggestions on how to configure it as xinerma? if not possible i guess
> need to modify the drm fbdev and divide the buffer(h/2) to left and right
> encoders.
You probably don't want to use xinerama, but normal xrandr commands should work.
But you probably want to have the kernel put TILE mode properties on
the connector (similar to DP MST display) so userspace realizes this
is logically a single display and sets things up automatically. See
drm_mode_create_tile_group(). The code should already be in place to
call this but maybe you are missing the dt property? See
dsi_mgr_parse_dual_dsi().
xf86-video-freedreno might not handle the TILE properties properly,
but xf86-video-modesetting should (and is the ddx driver that everyone
should be using unless you have a very old xserver)
BR,
-R
More information about the Freedreno
mailing list