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);