Torch: Switch to sysfs interface

Change-Id: I81f5aacda1fd3237a0dfe8d7bd65090730c04a83
enable sf optimizations for virtual displays

Change-Id: I5469e2591074e76b3d596af8b5928b5854df6ca7
Merge remote-tracking branch 'upstream/cm-11.0' into cm-11.0