Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 1 | From 58e2c55176f1a146781430b2a570c8ce5f80d426 Mon Sep 17 00:00:00 2001 |
| 2 | From: Madhurkiran Harikrishnan <madhurki@xilinx.com> |
| 3 | Date: Mon, 28 Aug 2017 09:40:37 -0700 |
| 4 | Subject: [PATCH] common/mali_pm.c: Add PM runtime barrier after removing |
| 5 | suspend |
| 6 | |
| 7 | Runtime PM suspend "put" results in addition of PM suspend |
| 8 | API in work queue. This barrier API will remove it from |
| 9 | the work queue. |
| 10 | |
| 11 | Signed-off-by: Madhurkiran Harikrishnan <madhurki@xilinx.com> |
| 12 | Upstream-Status: Pending |
| 13 | --- |
| 14 | driver/src/devicedrv/mali/common/mali_pm.c | 1 + |
| 15 | 1 file changed, 1 insertion(+) |
| 16 | |
| 17 | diff --git a/driver/src/devicedrv/mali/common/mali_pm.c b/driver/src/devicedrv/mali/common/mali_pm.c |
| 18 | index 858c689..62a1e5f 100644 |
| 19 | --- common/mali_pm.c |
| 20 | +++ b/common/mali_pm.c |
| 21 | @@ -301,6 +301,7 @@ void mali_pm_init_end(void) |
| 22 | } |
| 23 | |
| 24 | _mali_osk_pm_dev_ref_put(); |
| 25 | + _mali_osk_pm_dev_barrier(); |
| 26 | } |
| 27 | |
| 28 | void mali_pm_update_sync(void) |
| 29 | -- |
| 30 | 2.7.4 |
| 31 | |