diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2019-05-08 18:49:43 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2019-05-08 18:49:43 -0700 |
| commit | 830b7b50b3852057fe0d2275c41d2d35f2efe4c4 (patch) | |
| tree | 319e57b1b9eade7b33a1b72c78e60e1ffb9848ca | |
| parent | cd6e1cd22ba4a16e022c888fe8fbecbcdddc4182 (diff) | |
| parent | 1d02b55727d53946aedeee9d330664e385195440 (diff) | |
Merge "msm: kgsl: Fix race condition while making page as dirty"
| -rw-r--r-- | drivers/gpu/msm/kgsl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/msm/kgsl.c b/drivers/gpu/msm/kgsl.c index f096e5ed6816..417d8c61109e 100644 --- a/drivers/gpu/msm/kgsl.c +++ b/drivers/gpu/msm/kgsl.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2008-2018, The Linux Foundation. All rights reserved. +/* Copyright (c) 2008-2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -328,7 +328,7 @@ kgsl_mem_entry_destroy(struct kref *kref) entry->memdesc.sgt->nents, i) { page = sg_page(sg); for (j = 0; j < (sg->length >> PAGE_SHIFT); j++) - set_page_dirty(nth_page(page, j)); + set_page_dirty_lock(nth_page(page, j)); } } |
