summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
diff options
context:
space:
mode:
authorMoses Reuben2017-08-16 05:00:20 +0200
committerOded Gabbay2017-08-16 05:00:20 +0200
commit6a1c9510694fe1e901a3b5b53386eac069adcea6 (patch)
tree704d2dcb4e9602c11455dca2862c53e005bdd215 /drivers/gpu/drm/amd/amdkfd/kfd_priv.h
parentdrm/amdgpu: Add kgd/kfd interface to support scratch memory v2 (diff)
downloadkernel-qcow2-linux-6a1c9510694fe1e901a3b5b53386eac069adcea6.tar.gz
kernel-qcow2-linux-6a1c9510694fe1e901a3b5b53386eac069adcea6.tar.xz
kernel-qcow2-linux-6a1c9510694fe1e901a3b5b53386eac069adcea6.zip
drm/amdkfd: Adding new IOCTL for scratch memory v2
v2: * Renamed ALLOC_MEMORY_OF_SCRATCH to SET_SCRATCH_BACKING_VA * Removed size parameter from the ioctl, it was unused * Removed hole in ioctl number space * No more call to write_config_static_mem * Return correct error code from ioctl Signed-off-by: Moses Reuben <moses.reuben@amd.com> Signed-off-by: Ben Goz <ben.goz@amd.com> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.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 30ce92c6e6a1..b397ec726400 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
@@ -432,6 +432,7 @@ struct qcm_process_device {
uint32_t gds_size;
uint32_t num_gws;
uint32_t num_oac;
+ uint32_t sh_hidden_private_base;
};
/* Data that is per-process-per device. */