diff options
author | Seung-Woo Kim <sw0312.kim@samsung.com> | 2024-11-05 18:45:24 +0900 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2024-11-05 18:47:45 +0900 |
commit | 39fefc77fa8e7310a7dd62531864f59bf98a4082 (patch) | |
tree | cc1ed70cee85fe39089efaf52de3997f317e2429 | |
parent | 599fb20bfe9ef19cf90022252fb23ce3df845729 (diff) | |
download | linux-riscv-accepted/tizen_unified.tar.gz linux-riscv-accepted/tizen_unified.tar.bz2 linux-riscv-accepted/tizen_unified.zip |
gpu: drm: img: Replace system work flush with img dedicated workqueueaccepted/tizen/unified/x/20241106.131216accepted/tizen/unified/20241121.055603tizenaccepted/tizen_unified_xaccepted/tizen_unified
Remove deprecated flush_scheduled_work() and use already
added flush_workqueue() without considering kernel version.
Change-Id: I226e2a7bb845497aa38c020d5c178624b8768e18
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
-rw-r--r-- | drivers/gpu/drm/img-rogue/pvr_fence.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/img-rogue/pvr_fence.h b/drivers/gpu/drm/img-rogue/pvr_fence.h index 25ecc8bb9911..126eded1ef26 100644 --- a/drivers/gpu/drm/img-rogue/pvr_fence.h +++ b/drivers/gpu/drm/img-rogue/pvr_fence.h @@ -196,11 +196,7 @@ static inline void pvr_fence_cleanup(void) * Ensure all PVR fence contexts have been destroyed, by flushing * the global workqueue. */ -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 6, 36)) flush_workqueue(NativeSyncGetFenceCtxDestroyWq()); -#else - flush_scheduled_work(); -#endif } #endif |