aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
diff options
context:
space:
mode:
authorShirish S <[email protected]>2018-03-13 11:55:11 +0530
committerAlex Deucher <[email protected]>2018-03-14 16:01:15 -0500
commit2a7b58293dd0f188d27491a8d07b145a9487e172 (patch)
tree19b26a5a02f520396692c26ec998e253deb6f095 /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
parent17ac50368f83ead67f9e3c9b9704f927f214da9d (diff)
drm/amd/display: Check msg->size before starting aux transfer
This patch adds an essential check related to the size of the payload to be transferred via aux channel. Without this check dal_ddc_service_read_dpcd_data() is fed with inappropriate payload size leading to deadlocks. Signed-off-by: Shirish S <[email protected]> Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c')
0 files changed, 0 insertions, 0 deletions