diff options
author | xinhui pan <xinhui.pan@amd.com> | 2021-06-16 06:32:34 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-06-18 23:01:35 +0200 |
commit | 84408d5f3892534da9e8e5d5b21126c91f8cac1a (patch) | |
tree | 0e59a44377b3ce31ab0abdfd0bfd8ca120906279 /kernel/relay.c | |
parent | Merge tag 'amd-drm-next-5.14-2021-06-16' of https://gitlab.freedesktop.org/ag... (diff) | |
download | linux-84408d5f3892534da9e8e5d5b21126c91f8cac1a.tar.xz linux-84408d5f3892534da9e8e5d5b21126c91f8cac1a.zip |
drm/amdgpu: Set TTM_PAGE_FLAG_SG earlier for userprt BOs
Because TTM do page counting on userptr BOs which is actually not
needed. To avoid that, lets set TTM_PAGE_FLAG_SG after tt_create and
before tt_populate.
Signed-off-by: xinhui pan <xinhui.pan@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'kernel/relay.c')
0 files changed, 0 insertions, 0 deletions