summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/sprd
diff options
context:
space:
mode:
authorRob Clark <robdclark@chromium.org>2022-08-07 09:09:01 -0700
committerRob Clark <robdclark@chromium.org>2022-09-18 09:37:55 -0700
commit323894610ba027dddc86e8a5c6e7982588d845dd (patch)
tree6a82e1869b139e4a7c1dab200e6aeb0e5a818172 /drivers/gpu/drm/sprd
parente93e45b1aa4909926b5c2e195eadbed1899e9e50 (diff)
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 'drivers/gpu/drm/sprd')
0 files changed, 0 insertions, 0 deletions