summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdkfd
diff options
context:
space:
mode:
authorOded Gabbay2015-06-06 20:45:43 +0200
committerOded Gabbay2015-06-06 21:26:47 +0200
commiteaccd6e7436340c7aba122f4456c6761c8c2dff2 (patch)
tree6c44c28542d0fe7cd740689a985b02d4f122e8a6 /drivers/gpu/drm/amd/amdkfd
parentdrm/amdkfd: make reset wavefronts per process per device (diff)
downloadkernel-qcow2-linux-eaccd6e7436340c7aba122f4456c6761c8c2dff2.tar.gz
kernel-qcow2-linux-eaccd6e7436340c7aba122f4456c6761c8c2dff2.tar.xz
kernel-qcow2-linux-eaccd6e7436340c7aba122f4456c6761c8c2dff2.zip
drm/amdkfd: Add missing properties to CZ device info
This patch adds two missing properties initializations to the device info structure of CZ. As we don't have CZ support yet, it isn't critical, but its important to fix this now instead of forgetting about it later. Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd')
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_device.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device.c b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
index 1d1e2e952a79..75312c82969f 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_device.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
@@ -44,7 +44,10 @@ static const struct kfd_device_info kaveri_device_info = {
static const struct kfd_device_info carrizo_device_info = {
.asic_family = CHIP_CARRIZO,
.max_pasid_bits = 16,
+ /* max num of queues for CZ.TODO should be a dynamic value */
+ .max_no_of_hqd = 24,
.ih_ring_entry_size = 4 * sizeof(uint32_t),
+ .event_interrupt_class = &event_interrupt_class_cik,
.num_of_watch_points = 4,
.mqd_size_aligned = MQD_SIZE_ALIGNED
};