display: Add display hal-backend check function 93/288393/7
authorYunhee Seo <yuni.seo@samsung.com>
Thu, 16 Feb 2023 05:32:53 +0000 (14:32 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Thu, 16 Feb 2023 10:35:13 +0000 (19:35 +0900)
commit212245d8c9b1bf1b9a22782ef8f97879eec7bac3
tree614d2550cbb27eee1e7e1d5e0b1cdf18c8e811c8
parent918acdfef05bde8242672031c7c10430a1e6c165
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