drm/amdkfd: clean up code for interrupt v10
Subsystems (3)
PATCH 1/1 drm/amdkfd: clean up code for interrupt v10
Variable hub_inst is unused.
Related the commit "bde7ae79ca40":
"drm/amdkfd: Drop poison hanlding from gfx v10"
Signed-off-by Jesse Zhang <[email protected]>
--- drivers/gpu/drm/amd/amdkfd/kfd_int_process_v10.c | 13 ------------- 1 file changed, 13 deletions(-)
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v10.c +0 -13
@@ -308,21 +308,8 @@ static void event_interrupt_wq_v10(struct kfd_node *dev,uint16_t ring_id =SOC15_RING_ID_FROM_IH_ENTRY (ih_ring_entry);uint32_t node_id =SOC15_NODEID_FROM_IH_ENTRY (ih_ring_entry);uint32_t vmid_type =SOC15_VMID_TYPE_FROM_IH_ENTRY (ih_ring_entry); -int hub_inst =0 ;struct kfd_hsa_memory_exception_data exception_data; -/* gfxhub */ -if (!vmid_type && dev->adev->gfx.funcs->ih_node_to_logical_xcc) { - hub_inst = dev->adev->gfx.funcs->ih_node_to_logical_xcc (dev->adev, - node_id); -if (hub_inst <0 ) - hub_inst =0 ; - } - -/* mmhub */ -if (vmid_type && client_id ==SOC15_IH_CLIENTID_VMC ) - hub_inst = node_id /4 ; - info.vmid = vmid; info.mc_id = client_id; info.page_addr = ih_ring_entry[4] |
Signature · 1 line
2.25.1
[Public]
This patch is,
Reviewed-by Tim Huang <[email protected]>
Quoted 52 lines
-----Original Message-----
From: [email protected] <[email protected]>
Sent: Thursday, September 5, 2024 5:21 PM
To: [email protected]
Cc: Deucher, Alexander <[email protected]>; Koenig, Christian <[email protected]>; Huang, Tim <[email protected]>; Zhang, Jesse(Jie) <[email protected]>
Subject: [PATCH] drm/amdkfd: clean up code for interrupt v10Variable
hub_instis unused.
Related the commit "bde7ae79ca40":
"drm/amdkfd: Drop poison hanlding from gfx v10"Signed-off-by Jesse Zhang <[email protected]>--- drivers/gpu/drm/amd/amdkfd/kfd_int_process_v10.c | 13 ------------- 1 file changed, 13 deletions(-)drivers/gpu/drm/amd/amdkfd/kfd_int_process_v10.c +0
-4@@ -308,21 +308,8 @@ static void event_interrupt_wq_v10(struct kfd_node *dev, uint16_t ring_id =SOC15_RING_ID_FROM_IH_ENTRY (ih_ring_entry);uint32_t node_id =SOC15_NODEID_FROM_IH_ENTRY (ih_ring_entry);uint32_t vmid_type =SOC15_VMID_TYPE_FROM_IH_ENTRY (ih_ring_entry); -int hub_inst =0 ;struct kfd_hsa_memory_exception_data exception_data; -/* gfxhub */ -if (!vmid_type && dev->adev->gfx.funcs->ih_node_to_logical_xcc) { - hub_inst =dev->adev->gfx.funcs->ih_node_to_logical_xcc(dev->adev,
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v10.c +0
-10- node_id); -if (hub_inst <0 ) - hub_inst =0 ; - } - -/* mmhub */ -if (vmid_type && client_id ==SOC15_IH_CLIENTID_VMC ) - hub_inst = node_id /4 ; - info.vmid = vmid; info.mc_id = client_id; info.page_addr = ih_ring_entry[4] | --2.25.1