drm/amdkfd: fix double assign skip process context clear
authorJonathan Kim <jonathan.kim@amd.com>
Thu, 10 Aug 2023 18:55:11 +0000 (14:55 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Aug 2023 22:07:42 +0000 (18:07 -0400)
Remove redundant assignment when skipping process ctx clear.

Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c

index 7aa05f4068fc83a9de4ceef23c6356064ab7113d..b166f30f083e0aad6498bd96f603dcfad3977296 100644 (file)
@@ -227,7 +227,6 @@ static int add_queue_mes(struct device_queue_manager *dqm, struct queue *q,
        queue_input.tba_addr = qpd->tba_addr;
        queue_input.tma_addr = qpd->tma_addr;
        queue_input.trap_en = !kfd_dbg_has_cwsr_workaround(q->device);
-       queue_input.skip_process_ctx_clear = qpd->pqm->process->debug_trap_enabled;
        queue_input.skip_process_ctx_clear = qpd->pqm->process->debug_trap_enabled ||
                                             kfd_dbg_has_ttmps_always_setup(q->device);