aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorShirish S <shirish.s@amd.com>2018-03-13 02:25:11 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-03-14 17:01:15 -0400
commit2a7b58293dd0f188d27491a8d07b145a9487e172 (patch)
tree19b26a5a02f520396692c26ec998e253deb6f095 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.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 <shirish.s@amd.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions