summaryrefslogtreecommitdiff
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorAlexander Beykun <abeykun@codeaurora.org>2017-04-19 17:08:35 -0400
committerGerrit - the friendly Code Review server <code-review@localhost>2017-06-26 17:33:46 -0700
commit4482a89a67a07b6eef2381c2f4a5a559017d9581 (patch)
tree01ef63d8c02c16c5ce5711b4e5af7ebe9ee3ab1d /security/selinux/hooks.c
parent1f2fc9ec1890a7181f15394b418eeefe6a0835bb (diff)
drm/msm/sde: size check fix for NV12 buffer
Currently for NV12 linear/compressed format if the same gem object assigned to both planes, total size becomes twice more than actually allocated. In that case kernel cannot detect case where meta data planes not allocated for NV12 compressed buffer and smmu fault happens. Current patch sums sizes only for different gem objects allowing kernel to detect insufficient memory allocation for NV12 case. Change-Id: I0d9f49b8b310f0dff1fb787b4ba821a6d4a68140 Signed-off-by: Alexander Beykun <abeykun@codeaurora.org>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions