[HSW mobile bisected]Unigine-heaven performance reduce by 12% with gnome-session
Submitted by ye.tian
Assigned to Matt Turner @mattst88
Description
System Environment:
Platform: HSW mobile
Kernel: 3.19.0-rc7+
Libdrm: (master)libdrm-2.4.59-20-g7cb1d6e2
Mesa: (master)599cbe55
Xserver:(master)xorg-server-1.17.0-16-g3a06faf3fcdb7451125a46181f9152e8e59e9770
Xf86_video_intel:(master)2.99.917-145-g127aae5a72a69df325fed0b63d345e81583d5ca1
Bug detailed description:
Unigine-heaven performance reduce by 12% with gnome-session on HSW mobile, reduce by 6.5% on HSW desktop. It’s Mesa regression. By bisected, show that 2dad1e3a is the first bad commit.
commit 2dad1e3a Author: Matt Turner mattst88@gmail.com AuthorDate: Wed Feb 12 11:00:46 2014 -0800 Commit: Matt Turner mattst88@gmail.com CommitDate: Tue Feb 17 20:44:09 2015 -0800
i965/fs: Add pass to combine immediates.
total instructions in shared programs: 5885407 -> 5940958 (0.94%)
instructions in affected programs: 3617311 -> 3672862 (1.54%)
helped: 3
HURT: 23556
GAINED: 31
LOST: 165
... but will allow us to always emit MAD instructions.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Please see Xrog.0.log.
Reproduce steps:
1, xinit& 2, gnome-session& 3, vblank_mode=0 ./bin/heaven_x64 -video_app opengl -data_path ../ -sound_app null -engine_config ../data/heaven_4.0.cfg -system_script heaven/unigine.cpp -video_mode -1 -video_fullscreen 1 -extern_define PHORONIX,RELEASE -video_width 1920 -video_height 1080