diff options
author | Ben Goz <ben.goz@amd.com> | 2015-01-04 10:37:18 +0200 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@amd.com> | 2015-01-04 10:37:18 +0200 |
commit | ff3d04a17117ed0825076c0e9edd0fe232daec9f (patch) | |
tree | e67f0fae16e26612c74819879b03ea5baafdb58e /drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | |
parent | 836aabc0d4e2a5c5c375c3f44da4096b1073a525 (diff) | |
download | op-kernel-dev-ff3d04a17117ed0825076c0e9edd0fe232daec9f.zip op-kernel-dev-ff3d04a17117ed0825076c0e9edd0fe232daec9f.tar.gz |
drm/amdkfd: Add new VI-specific queue properties
This patch adds new fields to the queue_properties structure. The new fields
are relevant only for queues running on AMD GPU VI architecture.
The eop_ring_buffer_address and eop_ring_buffer_size describe an
end-of-pipe queue which is assigned to the MQD. In CI, the EOP queue was per
pipeline and in VI it is per queue.
The ctx_save_restore_area_address and ctx_save_restore_area_size describe a
memory area that is designated to allow the CP to do context save/restore in
mid-wave state.
This patch also modifies the set_queue_properties_from_user() (called from
kfd_ioctl_create_queue()) to check and copy those new parameters.
Signed-off-by: Ben Goz <ben.goz@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c')
0 files changed, 0 insertions, 0 deletions