diff options
author | Stanley.Yang <Stanley.Yang@amd.com> | 2020-02-24 10:04:23 +0800 |
---|---|---|
committer | Flora Cui <flora.cui@amd.com> | 2020-04-24 15:15:58 +0800 |
commit | 79e65c14389ccb8a43d806f1dea4416f6948aa95 (patch) | |
tree | 25600ac2befd8f16142182298892644fc7b70387 /include | |
parent | 7891b4d6d220876f4420247af287fb8983c095c2 (diff) |
drm/amdkcl: move .wait and .enable_signaling kcl define into kcl_fence.h
Change-Id: I195a130d402c6931945c9e0429214b2828451a36
Signed-off-by: Stanley.Yang <Stanley.Yang@amd.com>
Reviewed-by: Flora Cui <flora.cui@amd.com>
Signed-off-by: Yifan Zhang <Yifan1.Zhang@amd.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/kcl/kcl_fence_backport.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/include/kcl/kcl_fence_backport.h b/include/kcl/kcl_fence_backport.h index 5b0c04df96bd..0caa7e4e2660 100644 --- a/include/kcl/kcl_fence_backport.h +++ b/include/kcl/kcl_fence_backport.h @@ -29,26 +29,4 @@ #ifdef AMDKCL_FENCE_GET_RCU_SAFE #define dma_fence_get_rcu_safe _kcl_fence_get_rcu_safe #endif - -/* - * commit v4.18-rc2-533-g418cc6ca0607 - * dma-fence: Make ->wait callback optional - */ -#if DRM_VERSION_CODE < DRM_VERSION(4, 19, 0) -#define AMDKCL_DMA_FENCE_OPS_WAIT_OPTIONAL \ - .wait = dma_fence_default_wait, -#else -#define AMDKCL_DMA_FENCE_OPS_WAIT_OPTIONAL -#endif - -/* - * commit v4.18-rc2-519-gc701317a3eb8 - * dma-fence: Make ->enable_signaling optional - */ -#ifdef AMDKCL_DMA_FENCE_OPS_ENABLE_SIGNALING -#define AMDKCL_DMA_FENCE_OPS_ENABLE_SIGNALING_OPTIONAL \ - .enable_signaling = _kcl_fence_enable_signaling, -#else -#define AMDKCL_DMA_FENCE_OPS_ENABLE_SIGNALING_OPTIONAL -#endif #endif |