diff options
| author | Thomas Hellström <thomas.hellstrom@linux.intel.com> | 2025-12-19 12:33:08 +0100 |
|---|---|---|
| committer | Thomas Hellström <thomas.hellstrom@linux.intel.com> | 2025-12-23 10:00:47 +0100 |
| commit | eb9db59d96ce1ce8a207064f4a098c55ddd23fc3 (patch) | |
| tree | 9392f9742553cc081fc04b4bb13176853d62345a /include | |
| parent | 14b60874c90a61ffb9c32787bc5f3fcde93b9cd4 (diff) | |
drm/xe: Pass a drm_pagemap pointer around with the memory advise attributes
As a consequence, struct xe_vma_mem_attr() can't simply be assigned
or freed without taking the reference count of individual members
into account. Also add helpers to do that.
v2:
- Move some calls to xe_vma_mem_attr_fini() to xe_vma_free(). (Matt Brost)
v3:
- Rebase.
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com> #v2
Link: https://patch.msgid.link/20251219113320.183860-13-thomas.hellstrom@linux.intel.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
