diff options
author | Kuogee Hsieh <khsieh@codeaurora.org> | 2020-11-18 13:00:14 -0800 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2020-12-03 08:51:40 -0800 |
commit | c58eb1b54feefc3a47fab78addd14083bc941c44 (patch) | |
tree | 00c2d2e7a57d4ae521e15fc129aa74954084e12f /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 854f6f1c653ba7d38acc3fc9dabb42e2db5837c1 (diff) |
drm/msm/dp: fix connect/disconnect handled at irq_hpd
Some usb type-c dongle use irq_hpd request to perform device connection
and disconnection. This patch add handling of both connection and
disconnection are based on the state of hpd_state and sink_count.
Changes in V2:
-- add dp_display_handle_port_ststus_changed()
-- fix kernel test robot complaint
Changes in V3:
-- add encoder_mode_set into struct dp_display_private
Reported-by: kernel test robot <lkp@intel.com>
Fixes: 26b8d66a399e ("drm/msm/dp: promote irq_hpd handle to handle link training correctly")
Tested-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions