diff options
| author | Thomas Zimmermann <[email protected]> | 2025-02-26 17:03:06 +0000 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2025-03-06 07:59:01 +0000 |
| commit | e8afa1557f4f963c9a511bd2c6074a941c308685 (patch) | |
| tree | d6d6868d389742b2a17c1529d947c8304db2265d /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/gem-dma: Test for imported buffers with drm_gem_is_imported() (diff) | |
| download | kernel-e8afa1557f4f963c9a511bd2c6074a941c308685.tar.gz kernel-e8afa1557f4f963c9a511bd2c6074a941c308685.zip | |
drm/gem-dma: 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 <[email protected]>
Reviewed-by: Anusha Srivatsa <[email protected]>
Reviewed-by: Christian König <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
