aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2025-02-26 17:03:06 +0000
committerThomas Zimmermann <[email protected]>2025-03-06 07:59:01 +0000
commite8afa1557f4f963c9a511bd2c6074a941c308685 (patch)
treed6d6868d389742b2a17c1529d947c8304db2265d /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/gem-dma: Test for imported buffers with drm_gem_is_imported() (diff)
downloadkernel-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