Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8d26336c authored by Xiaowen Wu's avatar Xiaowen Wu
Browse files

drm/dp: defer h/w hpd registeration to the end of dp sub module init



Previously when hpd_get is called, it will register callback
function into hardware. There is a potential racing issue that hardware
may call the callback function immediately in a separate thread
when the rest dp sub module initializations are not finished yet.

A new api register_hpd is added to each dp_hpd type and will get
called when all sub modules are initialized. H/W registeration will
be moved to this new api to guarantee dp is fully initialized before
any callback would happen.

CRs-Fixed: 2359246
Change-Id: I941a5c11e09ad05cc336c307940cba7749ff84e8
Signed-off-by: default avatarXiaowen Wu <wxiaowen@codeaurora.org>
parent 2e4e6c46
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment