diff options
author | Guenter Roeck <groeck@chromium.org> | 2017-02-05 15:54:57 +0800 |
---|---|---|
committer | Mark Yao <mark.yao@rock-chips.com> | 2017-02-05 16:29:39 +0800 |
commit | 83c132ed46a7e9c8ac17be436ef3892850df8695 (patch) | |
tree | 0375c6b3b7da75e8aeff43c506b911ab3629bc6f /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
parent | 1a0f7ed3abe29cff8e652c69a8ad89aec2c40f00 (diff) |
drm/rockchip: cdn-dp: Load firmware if no monitor connected
If no monitor is connected, suspend/resume cycles result in firmware
load errors because the driver attempts to load the firmware while
the system is in suspend state. This results in a kernel warning and
traceback.
Loading the firmware during boot fixes the problem. Note that we can not
just call schedule_work conditionally in cdn_dp_pd_event() if the insertion
status changed. The problem would still be seen if a monitor is connected
for the first time during suspend.
Signed-off-by: Guenter Roeck <groeck@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions