drm/msm: Unblock writer if reader closes file
authorKristian H. Kristensen <hoegsberg@gmail.com>
Wed, 19 Dec 2018 16:57:41 +0000 (08:57 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Mar 2019 16:57:03 +0000 (17:57 +0100)
commit96f18451ec25c516acef6057e7cbefd94210d966
tree44c4988a342209240c99dd58d26f718b246a1c37
parent87955cafb1aa9cddfa3353d2fd1e4971bbb7b8d6
drm/msm: Unblock writer if reader closes file

[ Upstream commit 99c66bc051e7407fe0bf0607b142ec0be1a1d1dd ]

Prevents deadlock when fifo is full and reader closes file.

Signed-off-by: Kristian H. Kristensen <hoegsberg@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/msm/msm_rd.c