Commit 6c099be9 authored by Pankaj Gupta's avatar Pankaj Gupta
Browse files

msm: kgsl: Keep postamble packets in a privileged buffer



Postamble packets are executed in privileged mode by gpu. So we should keep
them in a privileged scratch buffer to block userspace access. For
targets with APRIV feature support, we can mark the preemption scratch
buffer as privileged too to avoid similar issues in future.

Change-Id: Ifda360dda251083f38dfde80ce1b5dc83daae902
Signed-off-by: default avatarAkhil P Oommen <quic_akhilpo@quicinc.com>
Signed-off-by: default avatarKaushal Sanadhya <quic_ksanadhy@quicinc.com>
Signed-off-by: default avatarPankaj Gupta <quic_gpankaj@quicinc.com>
parent 8334640e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment