commit | b9825e88a042062ccb5e3eab1e73249fe2a89160 | [log] [tgz] |
---|---|---|
author | Fede2782 <78815152+Fede2782@users.noreply.github.com> | Thu Jun 06 19:02:57 2024 +0200 |
committer | Tim Zimmermann <tim@linux4.de> | Sun Jul 21 06:22:02 2024 +0200 |
tree | da14c31f2687f48f5eaf2a9207b69f1f050f9a7a | |
parent | a79fb37222f9f0d22ca4ff9d8936c8660655fa79 [diff] |
gpu: arm: Update from P615XXS8FXE4 Change-Id: Ia772f503ae1738d1d965266ee6da005178b202f8
diff --git a/drivers/gpu/arm/bv_r38p1/mali_kbase_kinstr_prfcnt.c b/drivers/gpu/arm/bv_r38p1/mali_kbase_kinstr_prfcnt.c index 4c99e63..a86ee8b 100644 --- a/drivers/gpu/arm/bv_r38p1/mali_kbase_kinstr_prfcnt.c +++ b/drivers/gpu/arm/bv_r38p1/mali_kbase_kinstr_prfcnt.c
@@ -1170,6 +1170,11 @@ { if (!cli) return; + /* If virtualizer_client is already setup, the client is in working order. + * One needs to ensure there is no aync dump actions inflight. + */ + if (cli->hvcli) + flush_work(&cli->async.dump_work); kbase_hwcnt_virtualizer_client_destroy(cli->hvcli); kbasep_kinstr_prfcnt_sample_array_free(&cli->sample_arr);