diff options
| author | Thomas Zimmermann <tzimmermann@suse.de> | 2024-02-27 13:14:52 +0300 |
|---|---|---|
| committer | Thomas Zimmermann <tzimmermann@suse.de> | 2024-03-11 15:33:50 +0300 |
| commit | 1cc16f1dd223d7c212bc04ec210773c9bd1111a5 (patch) | |
| tree | aa83eb57f8272a0c605712c4c3060e4d593d86d1 /scripts/gdb/linux/pgtable.py | |
| parent | 45a10ad4e66221bf330b93a78a21cfcfc96f4e12 (diff) | |
| download | linux-1cc16f1dd223d7c212bc04ec210773c9bd1111a5.tar.xz | |
drm/nouveau: Provide nouveau_bo_{pin,unpin}_locked()
Implement pinning without locking in nouveau_bo_pin_locked(). Keep
nouveau_bo_pin() for acquiring the buffer object's reservation lock.
The new helper will be useful for implementing the GEM pin callback
with correct semantics. Same for unpin.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Tested-by: Dmitry Osipenko <dmitry.osipenko@collabora.com> # virtio-gpu
Acked-by: Christian König <christian.koenig@amd.com>
Acked-by: Zack Rusin <zack.rusin@broadcom.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240227113853.8464-6-tzimmermann@suse.de
Diffstat (limited to 'scripts/gdb/linux/pgtable.py')
0 files changed, 0 insertions, 0 deletions
