linux_dsm_epyc7002/drivers/gpu/drm/msm
Stephen Boyd 710a040a4d drm/msm/dp: Sleep properly in dp_hpd_handler kthread
We shouldn't be waiting for an event here with a timeout of 100ms when
we're not in the 'timeout' arm of the if condition. Instead we should be
sleeping in the interruptible state (S) until something happens and we
need to wakeup. Right now this kthread is running almost all the time
because it sleeps for 100ms, wakes up, sees there's nothing to do, and
then starts the process all over again. Looking at top it shows up in
the D state (uninterruptible) because it uses wait_event_timeout(). FIx
this up.

Cc: Tanmay Shah <tanmay@codeaurora.org>
Cc: Kuogee Hsieh <khsieh@codeaurora.org>
Reported-by: Douglas Anderson <dianders@chromium.org>
Fixes: 8ede2ecc3e ("drm/msm/dp: Add DP compliance tests on Snapdragon Chipsets")
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Kuogee Hsieh <khsieh@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
2020-09-20 10:12:51 -07:00
..
adreno drm/msm: Get rid of the REG_ADRENO offsets 2020-09-15 10:47:44 -07:00
disp drm/msm/dp: Fix crash if no DP device 2020-09-19 10:18:42 -07:00
dp drm/msm/dp: Sleep properly in dp_hpd_handler kthread 2020-09-20 10:12:51 -07:00
dsi drm/msm/dsi: add support for 7nm DSI PHY/PLL 2020-09-12 09:59:58 -07:00
edp drm/msm: sync generated headers 2020-07-31 06:46:16 -07:00
hdmi drm/msm: sync generated headers 2020-07-31 06:46:16 -07:00
Kconfig drm/msm/dp: add support for DP PLL driver 2020-09-15 10:54:34 -07:00
Makefile drm/msm/dp: Use qmp phy for DP PLL and PHY 2020-09-15 10:54:35 -07:00
msm_atomic_trace.h drm/msm: add atomic traces 2019-09-03 16:17:02 -07:00
msm_atomic_tracepoints.c drm/msm: add atomic traces 2019-09-03 16:17:02 -07:00
msm_atomic.c drm/msm: enable vblank during atomic commits 2020-08-21 22:30:17 -07:00
msm_debugfs.c drm: convert .debugfs_init() hook to return void. 2020-03-18 17:53:28 +01:00
msm_debugfs.h drm: convert .debugfs_init() hook to return void. 2020-03-18 17:53:28 +01:00
msm_drv.c drm/msm/dp: add displayPort driver support 2020-09-15 10:54:34 -07:00
msm_drv.h drm/msm/dp: move debugfs node to /sys/kernel/debug/dri/*/ 2020-09-15 10:54:35 -07:00
msm_fb.c drm/msm: remove _unlocked suffix in drm_gem_object_put_unlocked 2020-05-19 22:31:33 +01:00
msm_fbdev.c drm: Remove drm_fb_helper add, add all and remove connector calls 2020-03-06 14:19:58 +01:00
msm_fence.c
msm_fence.h
msm_gem_prime.c
msm_gem_shrinker.c drm/msm: Convert shrinker msgs to tracepoints 2020-09-09 15:25:54 -07:00
msm_gem_submit.c drm/msm: Drop context arg to gpu->submit() 2020-09-12 10:45:56 -07:00
msm_gem_vma.c drm/msm: Show process names in gem_describe 2020-09-12 10:48:32 -07:00
msm_gem.c drm/msm: Show process names in gem_describe 2020-09-12 10:48:32 -07:00
msm_gem.h drm/msm: Show process names in gem_describe 2020-09-12 10:48:32 -07:00
msm_gpu_trace.h drm/msm/gpu: Add suspend/resume tracepoints 2020-09-12 09:59:58 -07:00
msm_gpu_tracepoints.c
msm_gpu.c drm/msm: Show process names in gem_describe 2020-09-12 10:48:32 -07:00
msm_gpu.h drm/msm: Allow a5xx to mark the RPTR shadow as privileged 2020-09-15 10:47:44 -07:00
msm_gpummu.c drm/msm: Add support to create a local pagetable 2020-09-12 10:48:32 -07:00
msm_iommu.c drm/msm: Add support to create a local pagetable 2020-09-12 10:48:32 -07:00
msm_kms.h drm/msm/dpu: async commit support 2019-09-03 16:17:01 -07:00
msm_mmu.h drm/msm: Add support to create a local pagetable 2020-09-12 10:48:32 -07:00
msm_perf.c
msm_rd.c drm/msm: Fix undefined "rd_full" link error 2020-05-18 09:26:32 -07:00
msm_ringbuffer.c drm/msm: Enable expanded apriv support for a650 2020-09-04 12:14:07 -07:00
msm_ringbuffer.h drm/msm/a6xx: Add support for per-instance pagetables 2020-09-12 10:48:32 -07:00
msm_submitqueue.c drm/msm: Add a context pointer to the submitqueue 2020-09-12 10:45:56 -07:00
NOTES