summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRob Clark <robdclark@chromium.org>2022-08-07 19:09:01 +0300
committerRob Clark <robdclark@chromium.org>2022-09-18 19:37:55 +0300
commit323894610ba027dddc86e8a5c6e7982588d845dd (patch)
tree6a82e1869b139e4a7c1dab200e6aeb0e5a818172 /scripts
parente93e45b1aa4909926b5c2e195eadbed1899e9e50 (diff)
downloadlinux-323894610ba027dddc86e8a5c6e7982588d845dd.tar.xz
drm/msm/rd: Fix FIFO-full deadlock
If the previous thing cat'ing $debugfs/rd left the FIFO full, then subsequent open could deadlock in rd_write() (because open is blocked, not giving a chance for read() to consume any data in the FIFO). Also it is generally a good idea to clear out old data from the FIFO. Signed-off-by: Rob Clark <robdclark@chromium.org> Patchwork: https://patchwork.freedesktop.org/patch/496706/ Link: https://lore.kernel.org/r/20220807160901.2353471-2-robdclark@gmail.com Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions