diff options
Diffstat (limited to 'meta-xilinx-core/recipes-graphics/mali/kernel-module-mali/0010-common-mali_pm.c-Add-PM-runtime-barrier-after-removi.patch')
-rw-r--r-- | meta-xilinx-core/recipes-graphics/mali/kernel-module-mali/0010-common-mali_pm.c-Add-PM-runtime-barrier-after-removi.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali/0010-common-mali_pm.c-Add-PM-runtime-barrier-after-removi.patch b/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali/0010-common-mali_pm.c-Add-PM-runtime-barrier-after-removi.patch new file mode 100644 index 00000000..98a86c88 --- /dev/null +++ b/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali/0010-common-mali_pm.c-Add-PM-runtime-barrier-after-removi.patch | |||
@@ -0,0 +1,31 @@ | |||
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 | |||