amdv: fix black screen after reboot on 5.15 [1/1]

PD#SWPL-138962

Problem:
black screen after reboot(50 times occur once)

Solution:
add judgment of ko file load completion

Verify:
s905x

Change-Id: I3ebccf8a192247a2f04d17b3d9e653fc95019cd8
Signed-off-by: can.zhang <can.zhang@amlogic.com>
This commit is contained in:
can.zhang
2023-09-06 10:33:21 +08:00
committed by Luan Yuan
parent 35ab697b97
commit fc32dae1f7
@@ -12914,6 +12914,8 @@ int amdolby_vision_process(struct vframe_s *vf, u32 display_size,
if (!is_amdv_stb_mode() && !is_aml_tvmode())
return -1;
if (!module_installed)
return -1;
/* vd1 toggle_mode priority is high than vd2*/
toggle_mode = toggle_mode_1 ? toggle_mode_1 : toggle_mode_2;