summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@amd.com>2024-04-26 10:33:47 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-09-08 07:53:05 +0200
commit33e1ffc9d449e9fcfffb5cc7b42041cfe963ffb1 (patch)
tree0ad47249269544138d3b932e44f25163135f735e /drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c
parentca4e62eb0162af8d815578940fe96d5b5f230c71 (diff)
drm/amd/display: Spinlock before reading event
[ Upstream commit ae13c8a5cff92015b9a3eb7cee65ebc75859487f ] [WHY & HOW] A read of acrtc_attach->base.state->event was not locked so moving it inside the spinlock. This fixes a LOCK_EVASION issue reported by Coverity. Reviewed-by: Harry Wentland <harry.wentland@amd.com> Acked-by: Tom Chung <chiahsuan.chung@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c')
0 files changed, 0 insertions, 0 deletions