[PATCH v2 0/2] drm/amd: Avoid using import_attach directly
Alex Deucher
alexdeucher at gmail.com
Wed Jun 25 16:09:56 UTC 2025
On Wed, Jun 25, 2025 at 11:31 AM Thomas Zimmermann <tzimmermann at suse.de> wrote:
>
> Hi
>
> Am 25.06.25 um 16:40 schrieb Alex Deucher:
> > 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.
>
> Please take them into AMD trees.
>
Applied. Thanks!
Alex
> Best regards
> Thomas
>
> >
> > 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(-)
> >>>
>
> --
> --
> Thomas Zimmermann
> Graphics Driver Developer
> SUSE Software Solutions Germany GmbH
> Frankenstrasse 146, 90461 Nuernberg, Germany
> GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
> HRB 36809 (AG Nuernberg)
>
More information about the dri-devel
mailing list