diff options
| author | Lyude Paul <lyude@redhat.com> | 2025-09-11 18:57:38 -0400 |
|---|---|---|
| committer | Lyude Paul <lyude@redhat.com> | 2025-09-12 19:04:29 -0400 |
| commit | e3f4bdaf2c5bfebcfb483a8caa1fb989ec042e5b (patch) | |
| tree | 87fa5582ab0dd48ff5d29795c8138db3548f7f1a /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | |
| parent | 27ed0d64a0f37224ca865fbf8f0aacdc46a3f481 (diff) | |
drm/gem/shmem: Extract drm_gem_shmem_init() from drm_gem_shmem_create()
With gem objects in rust, the most ideal way for us to be able to handle
gem shmem object creation is to be able to handle the memory allocation of
a gem object ourselves - and then have the DRM gem shmem helpers initialize
the object we've allocated afterwards. So, let's split out
drm_gem_shmem_init() from drm_gem_shmem_create() to allow for doing this.
Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Daniel Almeida <daniel.almeida@collabora.com>
Link: https://lore.kernel.org/r/20250911230147.650077-2-lyude@redhat.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c')
0 files changed, 0 insertions, 0 deletions