diff options
| author | Dmitry Osipenko <[email protected]> | 2025-03-22 21:26:05 +0000 |
|---|---|---|
| committer | Dmitry Osipenko <[email protected]> | 2025-03-26 20:00:16 +0000 |
| commit | d586b535f1448a6969e2b664e4e061c40bec4679 (patch) | |
| tree | 8d71fdba7e1cbb576e052c57003e4d41c3dd82b4 /drivers/gpu/drm/lima/lima_gem.c | |
| parent | drm/shmem-helper: Remove obsoleted is_iomem test (diff) | |
| download | kernel-d586b535f1448a6969e2b664e4e061c40bec4679.tar.gz kernel-d586b535f1448a6969e2b664e4e061c40bec4679.zip | |
drm/shmem-helper: Add and use pages_pin_count
Add separate pages_pin_count for tracking of whether drm-shmem pages are
moveable or not. With the addition of memory shrinker support to drm-shmem,
the pages_use_count will no longer determine whether pages are hard-pinned
in memory, but whether pages exist and are soft-pinned (and could be swapped
out). The pages_pin_count > 1 will hard-pin pages in memory.
Acked-by: Maxime Ripard <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
Suggested-by: Boris Brezillon <[email protected]>
Acked-by: Thomas Zimmermann <[email protected]>
Signed-off-by: Dmitry Osipenko <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/lima/lima_gem.c')
0 files changed, 0 insertions, 0 deletions
