pmaports/device/testing/linux-htc-k2ul/fix_kgsl.patch
Oliver Smith 64035ac463
device/*: move to device/testing/* (!1063)
Prepare for better device categorization by moving everything to testing
subdir first.

[skip-ci]: chicken-egg problem: passing pmaports CI depends on pmbootstrap MR
				depends on this MR

Related: postmarketos#16
2020-03-14 08:35:32 +01:00

21 lines
726 B
Diff

diff -Naur a/drivers/gpu/msm/kgsl_iommu.c b/drivers/gpu/msm/kgsl_iommu.c
--- a/drivers/gpu/msm/kgsl_iommu.c 2013-11-29 03:09:34.000000000 +0100
+++ b/drivers/gpu/msm/kgsl_iommu.c 2019-05-26 00:59:09.026481139 +0200
@@ -520,7 +520,7 @@
return status;
}
-inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu,
+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu,
unsigned int *cmds)
{
struct kgsl_device *device = mmu->device;
@@ -571,7 +571,7 @@
return cmds - start;
}
-inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu,
+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu,
unsigned int *cmds)
{
struct kgsl_device *device = mmu->device;