[hwc] adopt COMMIT_PER_VBLANK functionality for each ouptut 13/159513/4 accepted/tizen/unified/20171113.161439 submit/tizen/20171113.023250
authorSergey Sizonov <s.sizonov@samsung.com>
Thu, 9 Nov 2017 09:04:24 +0000 (12:04 +0300)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 13 Nov 2017 02:04:49 +0000 (02:04 +0000)
commitc61e3aaef986c13175c299570e8bc3ef09a4d50a
tree5253e3a5eda366cfac7eca35177a1ae38bace7af
parent4132be9593526d9358888f77186c9e00b3d81891
[hwc] adopt COMMIT_PER_VBLANK functionality for each ouptut

The new TDM HWC API made us to provide the COMMIT_PER_VBLANK
functionality for each output independently.

An output tdm-backend provides the hwc capability for isn't
intended to be managed by tdm_layer_xxx functions, so there's
no need to have the COMMIT_PER_VBLANK functionality turned on
for such output, in contrast to outputs tdm-backend doesn't
provide the hwc capability for.

So now the COMMIT_PER_VBLANK functionality for the outputs
which don't support hwc behaves depend on a TDM_COMMIT_PER_VBLANK
env variable while outputs which support are always have this
functionality turned off (like they read TDM_COMMIT_PER_VBLANK as '0')

Change-Id: I8454915d635016edfcb2dca3ac4bd455c48f4c44
Signed-off-by: Sergey Sizonov <s.sizonov@samsung.com>
include/tdm_helper.h
src/tdm.c
src/tdm_helper.c
src/tdm_layer.c
src/tdm_monitor_server.c
src/tdm_output.c
src/tdm_private.h