[PATCH v2 0/2] drm/amd: Avoid using import_attach directly

Alex Deucher alexdeucher at gmail.com
Wed Jun 25 14:40:58 UTC 2025


On Wed, Jun 25, 2025 at 7:25 AM Christian König
<christian.koenig at amd.com> wrote:
>
> On 25.06.25 10:42, Thomas Zimmermann wrote:
> > The field import_attach of struct drm_gem_object is often only
> > required by PRIME code. In other places, replace its use with
> > clearer alternatives.
>
> Reviewed-by: Christian König <christian.koenig at amd.com> for the entire series.
>

Thomas,

Feel free to take them via whatever tree makes sense if you have
further work that depends on these, otherwise, let me know and I can
pick them up.

Alex

> >
> > v2:
> > - keep amdgpu_bo_print_info() as-is (Christian)
> >
> > Thomas Zimmermann (2):
> >   drm/amdgpu: Test for imported buffers with drm_gem_is_imported()
> >   drm/amdgpu: Use dma_buf from GEM object instance
> >
> >  drivers/gpu/drm/amd/amdgpu/amdgpu_display.c |  2 +-
> >  drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c |  4 ++--
> >  drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c     |  5 ++---
> >  drivers/gpu/drm/amd/amdgpu/amdgpu_object.c  | 10 +++++-----
> >  drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c     |  2 +-
> >  drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c      |  6 +++---
> >  6 files changed, 14 insertions(+), 15 deletions(-)
> >
>


More information about the dri-devel mailing list