diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2025-02-26 20:03:10 +0300 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2025-03-06 10:59:14 +0300 |
commit | cce16fcd7446dcff7480cd9d2b6417075ed81065 (patch) | |
tree | d8a88583319bef29a606e3d00ccf51a8febf5712 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 3d672f483e5dc99053b9c94bd0e5f504c2e3f758 (diff) | |
download | linux-cce16fcd7446dcff7480cd9d2b6417075ed81065.tar.xz |
drm/gem-framebuffer: Use dma_buf from GEM object instance
Avoid dereferencing struct drm_gem_object.import_attach for the
imported dma-buf. The dma_buf field in the GEM object instance refers
to the same buffer. Prepares to make import_attach optional.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Anusha Srivatsa <asrivats@redhat.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250226172457.217725-8-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions