[hwc] add the ability to ask a client(E20) about the revalidation 94/156894/1
authorSergey Sizonov <s.sizonov@samsung.com>
Fri, 20 Oct 2017 11:17:38 +0000 (14:17 +0300)
committerSergey Sizonov <s.sizonov@samsung.com>
Fri, 20 Oct 2017 11:26:14 +0000 (14:26 +0300)
commitb7f500389f1e731ccd764b26b48ff133563460d8
tree7650a1eac0f54ebaf9a8578194fb5bdf7b467e78
parent4fda527798b22e59d36ba38e8aad601144734b1b
[hwc] add the ability to ask a client(E20) about the revalidation

The backends may need to ask E20 for revalidation
for some reason (power consumption, performance,...).

So we need some way to let backend do this.

The new TDM API function:
 tdm_output_set_need_validate_handler();

and TDM/backend interface API function:
 tdm_backend_trigger_need_validate_event();

have been added to let backend ask client(E20) for the
revalidation.

Change-Id: Ife266a55043cbf420702098b06223e46ef67c041
Signed-off-by: Sergey Sizonov <s.sizonov@samsung.com>
include/tdm.h
include/tdm_backend.h
include/tdm_types.h
src/tdm.c
src/tdm_backend.c
src/tdm_output.c
src/tdm_private.h
src/tdm_thread.c