summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/amd/amdgpu
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/drm/amd/amdgpu')
-rw-r--r--sys/dev/pci/drm/amd/amdgpu/amdgpu_fence.c2
-rw-r--r--sys/dev/pci/drm/amd/amdgpu/amdgpu_sync.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_fence.c b/sys/dev/pci/drm/amd/amdgpu/amdgpu_fence.c
index db3f288a633..7e6c107c244 100644
--- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_fence.c
+++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_fence.c
@@ -69,7 +69,7 @@ int amdgpu_fence_slab_init(void)
return -ENOMEM;
#else
pool_init(&amdgpu_fence_slab, sizeof(struct amdgpu_fence),
- 0, IPL_TTY, 0, "amdgpu_fence", NULL);
+ CACHELINESIZE, IPL_TTY, 0, "amdgpu_fence", NULL);
#endif
return 0;
}
diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_sync.c b/sys/dev/pci/drm/amd/amdgpu/amdgpu_sync.c
index dd5c1002024..610f1270f8d 100644
--- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_sync.c
+++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_sync.c
@@ -467,7 +467,7 @@ int amdgpu_sync_init(void)
return -ENOMEM;
#else
pool_init(&amdgpu_sync_slab, sizeof(struct amdgpu_sync_entry),
- 0, IPL_TTY, 0, "amdgpu_sync", NULL);
+ CACHELINESIZE, IPL_TTY, 0, "amdgpu_sync", NULL);
#endif
return 0;