Files
linux/drivers
Rob Clark a8278cf3f0 drm/msm: Fix dirtyfb refcounting
commit 9225b33707 upstream.

refcount_t complains about 0->1 transitions, which isn't *quite* what we
wanted.  So use dirtyfb==1 to mean that the fb is not connected to any
output that requires dirtyfb flushing, so that we can keep the underflow
and overflow checking.

Fixes: 9e4dde28e9 ("drm/msm: Avoid dirtyfb stalls on video mode displays (v2)")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Link: https://lore.kernel.org/r/20220304202146.845566-1-robdclark@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-08-17 14:24:30 +02:00
..
2022-08-17 14:24:30 +02:00
2022-08-17 14:23:13 +02:00
2022-04-13 20:59:01 +02:00
2022-08-17 14:23:16 +02:00