3 Commits

Author SHA1 Message Date
Tatenda Chipeperekwa
a610d60e88 drivers/misc/hdcp: add error handling for failed app initialization
Add error handling code for use cases in which HDCP app initialization
fails and the QSEECOM handle is invalid. This ensures that the HDCP
QSEECOM library can handle these scenarios gracefully.

Change-Id: I6147e01c062848f588019c40b7a3fee6cbfabf19
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2018-05-21 13:29:23 -07:00
Tatenda Chipeperekwa
9df5c68339 drm/msm: modularize QSEECOM and HDCP functionalities
Create separate modules to handle QSEECOM communications with the
TrustZone layer and to manage the HDCP 2.2 state machine.
This modularization will improve the extensibility and testability
of each module.

CRs-Fixed: 2213798
Change-Id: I9bedd5d97e855d164650ca70a785698403851f25
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2018-04-02 13:32:51 -07:00
Tatenda Chipeperekwa
c33016dbc6 drivers/misc: create new module to handle sysfs and topology events
Create a new module to handle sysfs and topology events that are
related to application/userspace layer interactions for HDCP
functionality. In turn, this will create a clear separation from
the HDCP QSEECOM layer that defines the communication mechanism between
the kernel and the TrustZone layers.

CRs-Fixed: 2155404
Change-Id: I048aa95b24044646126e80d8af88893af16e72d3
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2018-03-13 16:06:35 -07:00