summaryrefslogtreecommitdiff
path: root/include/uapi/linux/msg.h
diff options
context:
space:
mode:
authorThomas Hellström <thomas.hellstrom@linux.intel.com>2025-12-19 12:33:00 +0100
committerThomas Hellström <thomas.hellstrom@linux.intel.com>2025-12-23 09:35:53 +0100
commita599b98607decdc899630fc99a3a2847f6b72965 (patch)
treeb20ad6414638fe4388bfe56f6af878a13d3ee5d6 /include/uapi/linux/msg.h
parent16b5ad31952476fb925c401897fc171cd37f536b (diff)
drm/pagemap, drm/xe: Add refcounting to struct drm_pagemap
With the end goal of being able to free unused pagemaps and allocate them on demand, add a refcount to struct drm_pagemap, remove the xe embedded drm_pagemap, allocating and freeing it explicitly. v2: - Make the drm_pagemap pointer in drm_gpusvm_pages reference-counted. v3: - Call drm_pagemap_get() before drm_pagemap_put() in drm_gpusvm_pages (Himal Prasad Ghimiray) Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com> Reviewed-by: Matthew Brost <matthew.brost@intel.com> #v1 Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com> Acked-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> # For merging through drm-xe. Link: https://patch.msgid.link/20251219113320.183860-5-thomas.hellstrom@linux.intel.com
Diffstat (limited to 'include/uapi/linux/msg.h')
0 files changed, 0 insertions, 0 deletions