diff options
| author | Rob Clark <[email protected]> | 2022-03-04 20:21:45 +0000 |
|---|---|---|
| committer | Rob Clark <[email protected]> | 2022-03-07 03:28:47 +0000 |
| commit | 9225b337072a10bf9b09df8bf281437488dd8a26 (patch) | |
| tree | 831488dfa5cafa9e8c5976e9e49d489591d4819d /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
| parent | drm/msm/a6xx: Fix missing ARRAY_SIZE() check (diff) | |
| download | kernel-9225b337072a10bf9b09df8bf281437488dd8a26.tar.gz kernel-9225b337072a10bf9b09df8bf281437488dd8a26.zip | |
drm/msm: Fix dirtyfb refcounting
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: 9e4dde28e9cd ("drm/msm: Avoid dirtyfb stalls on video mode displays (v2)")
Signed-off-by: Rob Clark <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions
