dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Shane Francis <bigbeeshane@gmail.com>
To: Alex Deucher <alexdeucher@gmail.com>
Cc: Maling list - DRI developers <dri-devel@lists.freedesktop.org>
Subject: Re: [PATCH 2/2] drm/amdgpu: fix scatter-gather mapping with user pages
Date: Mon, 23 Mar 2020 22:38:56 +0000	[thread overview]
Message-ID: <CABnpCuAvHOsQ7bdVtzpncoK2+Joo1_DrMPwa8daQVxwUyxPL-w@mail.gmail.com> (raw)
In-Reply-To: <CADnq5_MvGT8BY8T6DQqaC+5FX_Tbb0f6K25wv8fGsy1F1KV_+w@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 357 bytes --]

> I think the other call to drm_prime_sg_to_page_addr_arrays in amdgpu
> needs a similar fix.
>
> Alex

Looking at the other call in amdgpu tmm it does not seem to undergo the
segment
remapping that happens in dma_map_sg, so should be safe.

I will port the changes to drm/radeon as that seems to use the same logic
for
user pages.

Regards : Shane Francis

[-- Attachment #1.2: Type: text/html, Size: 425 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2020-03-23 22:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-23 20:51 [PATCH 0/2] AMDGPU / DRM Fix mapping of user pages Shane Francis
2020-03-23 20:51 ` [PATCH 1/2] drm/prime: correct logic for mapping sg to arrays Shane Francis
2020-03-23 20:51 ` [PATCH 2/2] drm/amdgpu: fix scatter-gather mapping with user pages Shane Francis
2020-03-23 21:36   ` Alex Deucher
2020-03-23 22:38     ` Shane Francis [this message]
2020-03-23 23:51 ` [PATCH v2 0/3] AMDGPU / RADEON / DRM Fix mapping of " Shane Francis
2020-03-23 23:51   ` [PATCH v2 1/3] drm/prime: correct logic for mapping sg to arrays Shane Francis
2020-03-23 23:51   ` [PATCH v2 2/3] drm/amdgpu: fix scatter-gather mapping with user pages Shane Francis
2020-03-23 23:51   ` [PATCH v2 3/3] drm/radeon: " Shane Francis
  -- strict thread matches above, loose matches on Subject: below --
2020-03-23 18:51 [PATCH 1/2] drm/prime: correct logic for mapping sg to arrays Shane Francis
2020-03-23 18:51 ` [PATCH 2/2] drm/amdgpu: fix scatter-gather mapping with user pages Shane Francis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CABnpCuAvHOsQ7bdVtzpncoK2+Joo1_DrMPwa8daQVxwUyxPL-w@mail.gmail.com \
    --to=bigbeeshane@gmail.com \
    --cc=alexdeucher@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).