Merge "disp: msm: dp: modify hdcp wait loop to not add to cpu load"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
990fc93293
@@ -1,5 +1,6 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2015-2021, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
@@ -974,7 +975,7 @@ static int sde_hdcp_2x_main(void *data)
|
||||
enum sde_hdcp_2x_wakeup_cmd cmd;
|
||||
|
||||
while (1) {
|
||||
wait_event(hdcp->wait_q,
|
||||
wait_event_idle(hdcp->wait_q,
|
||||
!kfifo_is_empty(&hdcp->cmd_q) ||
|
||||
kthread_should_stop() ||
|
||||
kthread_should_park());
|
||||
|
Reference in New Issue
Block a user