diff options
| author | Rob Clark <robin.clark@oss.qualcomm.com> | 2025-06-29 13:12:55 -0700 |
|---|---|---|
| committer | Rob Clark <robin.clark@oss.qualcomm.com> | 2025-07-04 11:09:45 -0700 |
| commit | 8ac37c88f991257215400ad30ee9087dbc7c0a1b (patch) | |
| tree | f6393ae0b57c95375fa88f4a0d561a309bfc468b /rust/helpers/task.c | |
| parent | 4d0f62e4fe1072bc49eaf2677e2fb877e4e68f64 (diff) | |
drm/msm: Refcount framebuffer pins
We were already keeping a refcount of # of prepares (pins), to clear the
iova array. Use that to avoid unpinning the iova until the last cleanup
(unpin). This way, when msm_gem_unpin_iova() actually tears down the
mapping, we won't have problems if the fb is being scanned out on
another display (for example).
Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
Tested-by: Antonino Maniscalco <antomani103@gmail.com>
Reviewed-by: Antonino Maniscalco <antomani103@gmail.com>
Patchwork: https://patchwork.freedesktop.org/patch/661477/
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions
