File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -2046,6 +2046,7 @@ static void
2046
2046
tick_ctx_cleanup (struct panthor_scheduler * sched ,
2047
2047
struct panthor_sched_tick_ctx * ctx )
2048
2048
{
2049
+ struct panthor_device * ptdev = sched -> ptdev ;
2049
2050
struct panthor_group * group , * tmp ;
2050
2051
u32 i ;
2051
2052
@@ -2054,7 +2055,7 @@ tick_ctx_cleanup(struct panthor_scheduler *sched,
2054
2055
/* If everything went fine, we should only have groups
2055
2056
* to be terminated in the old_groups lists.
2056
2057
*/
2057
- drm_WARN_ON (& group -> ptdev -> base , !ctx -> csg_upd_failed_mask &&
2058
+ drm_WARN_ON (& ptdev -> base , !ctx -> csg_upd_failed_mask &&
2058
2059
group_can_run (group ));
2059
2060
2060
2061
if (!group_can_run (group )) {
@@ -2077,7 +2078,7 @@ tick_ctx_cleanup(struct panthor_scheduler *sched,
2077
2078
/* If everything went fine, the groups to schedule lists should
2078
2079
* be empty.
2079
2080
*/
2080
- drm_WARN_ON (& group -> ptdev -> base ,
2081
+ drm_WARN_ON (& ptdev -> base ,
2081
2082
!ctx -> csg_upd_failed_mask && !list_empty (& ctx -> groups [i ]));
2082
2083
2083
2084
list_for_each_entry_safe (group , tmp , & ctx -> groups [i ], run_node ) {
You can’t perform that action at this time.
0 commit comments