Skip to content
Snippets Groups Projects
Commit 8ee5bb77 authored by Carter Cooper's avatar Carter Cooper Committed by Iliyan Malchev
Browse files

msm: kgsl: Add missing power constraint trace


Add missing trace to ensure debug logs show everything

Change-Id: I5da21b15ba498e1266d6c96b700c6c18135f92e9
Signed-off-by: default avatarCarter Cooper <ccooper@codeaurora.org>
parent 95d88d61
Branches
Tags
No related merge requests found
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include "kgsl.h" #include "kgsl.h"
#include "kgsl_sharedmem.h" #include "kgsl_sharedmem.h"
#include "kgsl_cffdump.h" #include "kgsl_cffdump.h"
#include "kgsl_trace.h"
#include "adreno.h" #include "adreno.h"
#include "adreno_pm4types.h" #include "adreno_pm4types.h"
...@@ -1189,6 +1190,10 @@ void adreno_ringbuffer_set_constraint(struct kgsl_device *device, ...@@ -1189,6 +1190,10 @@ void adreno_ringbuffer_set_constraint(struct kgsl_device *device,
device->pwrctrl.constraint.owner_id = context->id; device->pwrctrl.constraint.owner_id = context->id;
device->pwrctrl.constraint.expires = jiffies + device->pwrctrl.constraint.expires = jiffies +
device->pwrctrl.interval_timeout; device->pwrctrl.interval_timeout;
/* Trace the constraint being set by the driver */
trace_kgsl_constraint(device,
device->pwrctrl.constraint.type,
constraint, 1);
} else if ((device->pwrctrl.constraint.type == } else if ((device->pwrctrl.constraint.type ==
context->pwr_constraint.type) && context->pwr_constraint.type) &&
(device->pwrctrl.constraint.hint.pwrlevel.level == (device->pwrctrl.constraint.hint.pwrlevel.level ==
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment