|
@@ -47,6 +47,9 @@ static bool initialize(struct kernel_queue *kq, struct kfd_dev *dev,
|
|
pr_debug("amdkfd: In func %s initializing queue type %d size %d\n",
|
|
pr_debug("amdkfd: In func %s initializing queue type %d size %d\n",
|
|
__func__, KFD_QUEUE_TYPE_HIQ, queue_size);
|
|
__func__, KFD_QUEUE_TYPE_HIQ, queue_size);
|
|
|
|
|
|
|
|
+ memset(&prop, 0, sizeof(prop));
|
|
|
|
+ memset(&nop, 0, sizeof(nop));
|
|
|
|
+
|
|
nop.opcode = IT_NOP;
|
|
nop.opcode = IT_NOP;
|
|
nop.type = PM4_TYPE_3;
|
|
nop.type = PM4_TYPE_3;
|
|
nop.u32all |= PM4_COUNT_ZERO;
|
|
nop.u32all |= PM4_COUNT_ZERO;
|