aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorStephen Boyd <[email protected]>2020-09-17 15:44:25 -0700
committerRob Clark <[email protected]>2020-09-20 10:12:51 -0700
commit710a040a4dd7ff0e0b8df007c885e7f916a7b099 (patch)
treecc7497622078afa7164d09255619ddc67aa52c61 /tools/perf/scripts/python/export-to-sqlite.py
parent55fd7dd29d679836a308d81c27c770b0a9c6a8d1 (diff)
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 <[email protected]> Cc: Kuogee Hsieh <[email protected]> Reported-by: Douglas Anderson <[email protected]> Fixes: 8ede2ecc3e5e ("drm/msm/dp: Add DP compliance tests on Snapdragon Chipsets") Signed-off-by: Stephen Boyd <[email protected]> Reviewed-by: Kuogee Hsieh <[email protected]> Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions