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

Skip to content
Commit 8872fd10 authored by Ajay Singh Parmar's avatar Ajay Singh Parmar
Browse files

drm/msm/dp: clean up hdcp threads



Currently, sde-hdcp2p2 and dp-hdcp2p2 modules maintain their
own threads and queue different works based on the functionalities
they are going to perform. These threads support executing only
one work at a given time. To simplify the implementation, remove
all the works that these threads execute. Instead implement just
one main work that is run continuously on each of these thread.
The threads go to sleep if not being executed. To support the
asynchronous behavior of these threads, implement a fifo queue.
This queue manages the commands to be executed by the thread.
Every time a command is queued to the queue, the thread is pinged
to execute it.

CRs-Fixed: 2393144d
Change-Id: Iee3522f06934c753cda19d13d9bee65b41d6b407
Signed-off-by: default avatarAjay Singh Parmar <aparmar@codeaurora.org>
parent b451b394
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment