File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -2546,8 +2546,8 @@ void panthor_sched_suspend(struct panthor_device *ptdev)
2546
2546
{
2547
2547
struct panthor_scheduler * sched = ptdev -> scheduler ;
2548
2548
struct panthor_csg_slots_upd_ctx upd_ctx ;
2549
- u32 suspended_slots , faulty_slots ;
2550
2549
struct panthor_group * group ;
2550
+ u32 suspended_slots ;
2551
2551
u32 i ;
2552
2552
2553
2553
mutex_lock (& sched -> lock );
@@ -2566,10 +2566,9 @@ void panthor_sched_suspend(struct panthor_device *ptdev)
2566
2566
2567
2567
csgs_upd_ctx_apply_locked (ptdev , & upd_ctx );
2568
2568
suspended_slots &= ~upd_ctx .timedout_mask ;
2569
- faulty_slots = upd_ctx .timedout_mask ;
2570
2569
2571
- if (faulty_slots ) {
2572
- u32 slot_mask = faulty_slots ;
2570
+ if (upd_ctx . timedout_mask ) {
2571
+ u32 slot_mask = upd_ctx . timedout_mask ;
2573
2572
2574
2573
drm_err (& ptdev -> base , "CSG suspend failed, escalating to termination" );
2575
2574
csgs_upd_ctx_init (& upd_ctx );
@@ -2620,9 +2619,6 @@ void panthor_sched_suspend(struct panthor_device *ptdev)
2620
2619
2621
2620
slot_mask &= ~BIT (csg_id );
2622
2621
}
2623
-
2624
- if (flush_caches_failed )
2625
- faulty_slots |= suspended_slots ;
2626
2622
}
2627
2623
2628
2624
for (i = 0 ; i < sched -> csg_slot_count ; i ++ ) {
You can’t perform that action at this time.
0 commit comments