summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
diff options
context:
space:
mode:
authorYong Zhao2018-10-16 19:12:53 +0200
committerAlex Deucher2018-11-05 20:21:14 +0100
commit435e2f970995f7bb3fa5b986071e8371bdc75619 (patch)
treed92a89de8cf4375f2115c5ee85f83c78717c502d /drivers/gpu/drm/amd/amdkfd/kfd_priv.h
parentdrm/amdkfd: Delete a duplicate statement in set_pasid_vmid_mapping() (diff)
downloadkernel-qcow2-linux-435e2f970995f7bb3fa5b986071e8371bdc75619.tar.gz
kernel-qcow2-linux-435e2f970995f7bb3fa5b986071e8371bdc75619.tar.xz
kernel-qcow2-linux-435e2f970995f7bb3fa5b986071e8371bdc75619.zip
drm/amdkfd: page_table_base already have the flags needed
The flags are added when calling amdgpu_gmc_pd_addr(). Signed-off-by: Yong Zhao <Yong.Zhao@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_priv.h')
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_priv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_priv.h b/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
index 53ff86d45d91..dec8e64f36bd 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
@@ -507,6 +507,7 @@ struct qcm_process_device {
* All the memory management data should be here too
*/
uint64_t gds_context_area;
+ /* Contains page table flags such as AMDGPU_PTE_VALID since gfx9 */
uint64_t page_table_base;
uint32_t sh_mem_config;
uint32_t sh_mem_bases;