display: Add display hal-backend check function 69/288469/1
authorYunhee Seo <yuni.seo@samsung.com>
Thu, 16 Feb 2023 05:32:53 +0000 (14:32 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Fri, 17 Feb 2023 03:15:54 +0000 (12:15 +0900)
commitbd187fa3144ddd45dd6d6f6393e6398ff70ed471
tree614d2550cbb27eee1e7e1d5e0b1cdf18c8e811c8
parent8b2263abbc126c47d6c311d2eda4fd90050e2a71
display: Add display hal-backend check function

Before plugin to core centralization, display hal backend check is needed.
To move functions without plugin dependency, this temporary function is necessary.
With this, plugin functions can be moved to core(deviced/src/display module).
These functions will be modified during plugin to core centralization.

void display_set_hal_backend_available(bool display_check_hal_backend)
-> With this, while plugin probing, deviced core can know whether hal_backend is
available or not.
bool display_check_hal_backend_available(void)
-> This function is for replacing the display_dev_available variable of plugins.

Change-Id: I1e926da29ab097e08533f73136a2f928daca9167
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
plugins/iot-headed/display/device-interface.c
plugins/mobile/display/device-interface.c
plugins/tv/display/device-interface.c
plugins/wearable/display/device-interface.c
src/display/display.c
src/display/display.h