summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2019-08-26 18:39:11 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-09-13 17:35:55 -0500
commitd0ba51b1cacd27bdc1acfe70cb55699f3329b2b1 (patch)
treee4ee5166609e4acdd00e95cff2975d203de587ce /fs
parent093e48c04dfdf91f323ae80428d4ced0294c596e (diff)
drm/amdgpu: Determing PTE flags separately for each mapping (v3)
The same BO can be mapped with different PTE flags by different GPUs. Therefore determine the PTE flags separately for each mapping instead of storing them in the KFD buffer object. Add a helper function to determine the PTE flags to be extended with ASIC and memory-type-specific logic in subsequent commits. v2: Split Arcturus-specific MTYPE changes into separate commit v3: Fix return type of get_pte_flags to uint64_t Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Reviewed-by: Shaoyun Liu <Shaoyun.Liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions