diff options
| author | Linux Build Service Account <lnxbuild@quicinc.com> | 2017-06-19 16:41:56 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-06-19 16:41:56 -0700 |
| commit | 7223e29df4cac0834eb279523eeb2b138acccc0d (patch) | |
| tree | 711f2df472d6d92ecc6deae489db49fa7756fb96 /drivers/gpu | |
| parent | 7d8e4243d281561dad7422bf92791165bd7b5a56 (diff) | |
| parent | 28339f3b380a0347fb7f20deac31650d7b0bccce (diff) | |
Merge "msm: kgsl: Reset busy data after soft reset"
Diffstat (limited to 'drivers/gpu')
| -rw-r--r-- | drivers/gpu/msm/adreno.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/msm/adreno.c b/drivers/gpu/msm/adreno.c index 89c7590ad121..6521ec01413e 100644 --- a/drivers/gpu/msm/adreno.c +++ b/drivers/gpu/msm/adreno.c @@ -2139,6 +2139,11 @@ static int adreno_soft_reset(struct kgsl_device *device) /* Reset the GPU */ _soft_reset(adreno_dev); + /* Clear the busy_data stats - we're starting over from scratch */ + adreno_dev->busy_data.gpu_busy = 0; + adreno_dev->busy_data.vbif_ram_cycles = 0; + adreno_dev->busy_data.vbif_starved_ram = 0; + /* Set the page table back to the default page table */ adreno_ringbuffer_set_global(adreno_dev, 0); kgsl_mmu_set_pt(&device->mmu, device->mmu.defaultpagetable); |
