diff options
author | Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> | 2020-03-30 17:44:00 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-04-03 17:01:18 -0400 |
commit | 8913f7ff0580605093563688f58e427dd0014609 (patch) | |
tree | dcdf482acfa7f0c4cee6d69179bd02b3befc51df /drivers/gpu/drm/r128/r128_ioc32.c | |
parent | c0ed2ca61f9085a98b3b3d4a61582741adde9260 (diff) |
drm/amd/display: Guard calls to hdcp_ta and dtm_ta
[Why]
The buffer used when calling psp is a shared buffer. If we have multiple calls
at the same time we can overwrite the buffer.
[How]
Add mutex to guard the shared buffer.
Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/r128/r128_ioc32.c')
0 files changed, 0 insertions, 0 deletions