MALI: utgard: rockchip: fix a compile error when GPU_TRACEPOINTS enabled
authorchenzhen <chenzhen@rock-chips.com>
Wed, 27 Jul 2016 06:52:49 +0000 (14:52 +0800)
committerGerrit Code Review <gerrit@rock-chips.com>
Wed, 27 Jul 2016 11:57:39 +0000 (19:57 +0800)
Change-Id: Ib8dafc9116b1b1a95dfe687faeb9889e0ab66d3c
Signed-off-by: chenzhen <chenzhen@rock-chips.com>
drivers/gpu/arm/mali400/mali/common/mali_group.c

index f0ed5223cc2a860298f960778f287dbfba5815bd..1b5942a5245bbca9ab66202c18786b1b7ec56a8e 100755 (executable)
@@ -697,7 +697,7 @@ void mali_group_add_group(struct mali_group *parent, struct mali_group *child)
                                              mali_pp_job_get_pid(job), mali_pp_job_get_tid(job), 0, 0, 0);
 #if defined(CONFIG_GPU_TRACEPOINTS) && defined(CONFIG_TRACEPOINTS)
                trace_gpu_sched_switch(
-                       mali_pp_core_description(group->pp_core),
+                       mali_pp_core_description(child->pp_core),
                        sched_clock(), mali_pp_job_get_tid(job),
                        0, mali_pp_job_get_id(job));
 #endif