display: Change setter for attribute SET_CURRENT_STATE 80/297380/4
authorYoungjae Cho <y0.cho@samsung.com>
Thu, 17 Aug 2023 10:37:59 +0000 (19:37 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 18 Aug 2023 01:23:03 +0000 (01:23 +0000)
commit3bb6ca7925386cf626e2531be9c620bffe2ff9c5
tree0213f8fa923f52e966e53959ba649539064b62b2
parent0b52631719db09f52ce0f4e88ca9a2c8d34d467f
display: Change setter for attribute SET_CURRENT_STATE

The operation of the display_state_set_current() is interfered by
the existing operation display_state_transition_do_state_transition().
As both are accessing and modifying same underlying data, and they
can be working at the same time, the data could be corrupted by each
other during their operation. Therefore, use only one for set state.
However, all of them should be fixed to display_state_set_current()
eventually.

Change-Id: I635eb5e8537302647d120ca4f6ef005f09dc1a07
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
src/display/resource-display.c