[Freedreno] kernel and prebuilts update

Rob Clark robdclark at gmail.com
Fri Feb 7 18:28:08 CET 2014


Hey, just to let everyone know, there are updated prebuilt kernels
(matching the kernel branches which have been rebased against latest
msm-next for 3.14).

http://people.freedesktop.org/~robclark/f20/20140207/



Userspace Status:
-----------------
Userspace has latest mesa (including new-compiler, hw binning, etc).. see:
http://bloggingthemonkey.blogspot.com/2014/02/freedreno-new-compiler.html

Also included is rebased mesa part of XA.  But not yet the
xf86-video-freedreno part, which is still work in progress.  The
original XA work pre-dated drm/msm and kms, so had some issues around
pageflips (fixed now), and resolution changes (still debugging).

Once there is something usable I'll make a prebuilt tgz with XA
enabled, as it is a significant improvement for windowed apps (~2x)..
hitting 860fps/1200fps (a320/a330) for es2gears.  And glmark2 results
for a320 are not looking too bad either, see results at end.



Kernels:
--------
I updated all the kernels this morning to pull in some fixes, so if
you rebased against any of these branches earlier in the week, you
might want to rebase again. There is a fixed a backport issue ("drm
backport from v3.14-rc1 (v2)") and few other fixes, in particular for
some bugs that XA was triggering.

bstem-drm:

  resynced with latest upstream, pulled in hdmi audio, wifi driver,
  and various display underflow (blue flash) fixes that were previously
  missing on this branch.

  note that the kernel parts needed for audio are there, but we still
  need alsa UCM config files for this device.

ifc6410-drm:
ifc6410-drm-overclock:

  resynced with latest upstream, plus pulled in wifi driver

dragonboard-drm:

  resynced with latest upstream, various fixes

WIFI NOTE: if you are using multiple devices on a single wireless
network, you probably need to edit the softmac.bin in the initrd to
avoid them all having the same MAC addr.  If you build your own
kernel, and build wifi (CONFIG_ATH_COMMON, CONFIG_ATH6KL and
CONFIG_ATH6KL_SDIO) as modules, then softmac does not need to be in
initrd.



Results with XA:
----------------

On bstem board with a320.. results on inforce board with stock clocks
should be same, or a bit higher if overclocked.  And a bit higher
still on apq8x74/a330.

[robclark at bstem:~]$ glmark2-es2
=======================================================
    glmark2 2012.12
=======================================================
    OpenGL Information
    GL_VENDOR:     freedreno
    GL_RENDERER:   Gallium 0.4 on FD320
    GL_VERSION:    OpenGL ES 2.0 Mesa 10.1.0-devel (git-f001571)
=======================================================
[build] use-vbo=false: FPS: 478 FrameTime: 2.092 ms
[build] use-vbo=true: FPS: 526 FrameTime: 1.901 ms
[texture] texture-filter=nearest: FPS: 387 FrameTime: 2.584 ms
[texture] texture-filter=linear: FPS: 352 FrameTime: 2.841 ms
[texture] texture-filter=mipmap: FPS: 381 FrameTime: 2.625 ms
[shading] shading=gouraud: FPS: 465 FrameTime: 2.151 ms
[shading] shading=blinn-phong-inf: FPS: 418 FrameTime: 2.392 ms
[shading] shading=phong: FPS: 326 FrameTime: 3.067 ms
[bump] bump-render=high-poly: FPS: 292 FrameTime: 3.425 ms
[bump] bump-render=normals: FPS: 474 FrameTime: 2.110 ms
[bump] bump-render=height: FPS: 380 FrameTime: 2.632 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 279 FrameTime: 3.584 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 107 FrameTime: 9.346 ms
[pulsar] light=false:quads=5:texture=false: FPS: 496 FrameTime: 2.016 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4:
FPS: 98 FrameTime: 10.204 ms
[desktop] effect=shadow:windows=4: FPS: 306 FrameTime: 3.268 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map:
FPS: 109 FrameTime: 9.174 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata:
FPS: 104 FrameTime: 9.615 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map:
FPS: 211 FrameTime: 4.739 ms
[ideas] speed=duration: FPS: 186 FrameTime: 5.376 ms
[jellyfish] <default>: FPS: 216 FrameTime: 4.630 ms

(unfortunately 'terrain' crashes at the moment, so don't get a complete run yet)

BR,
-R


More information about the Freedreno mailing list