diff options
author | xinhui pan <xinhui.pan@amd.com> | 2021-06-16 07:32:34 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-06-19 00:01:35 +0300 |
commit | 84408d5f3892534da9e8e5d5b21126c91f8cac1a (patch) | |
tree | 0e59a44377b3ce31ab0abdfd0bfd8ca120906279 /scripts/generate_rust_analyzer.py | |
parent | d472b36efbf8a27dc8a80519db8b5a8caffe42b6 (diff) | |
download | linux-84408d5f3892534da9e8e5d5b21126c91f8cac1a.tar.xz |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions