OSDN Git Service

msm: kgsl: Add a property to find if secure context is supported
authorSunil Khatri <sunilkh@codeaurora.org>
Fri, 10 Aug 2018 06:16:58 +0000 (11:46 +0530)
committerGerrit - the friendly Code Review server <code-review@localhost>
Mon, 8 Oct 2018 13:31:31 +0000 (06:31 -0700)
commit4d6804439eb8f3f838bf0c91dd912dc41b2586a4
treeb933ab5818ed955dead4e9a1e18f8b02b1abdd4e
parent3d69d2b9493206838d2c2d7a41b71321a73a802a
msm: kgsl: Add a property to find if secure context is supported

Add a property to determine if a target support secure context
for use cases like CPZ.

This property can be used by userspace application to create
a secure context if its supported on the target.

Change-Id: I1ccc824378fb8fbd2cfbc7b811c6c3fdcd17803e
Signed-off-by: Sunil Khatri <sunilkh@codeaurora.org>
drivers/gpu/msm/kgsl.c
include/uapi/linux/msm_kgsl.h