Home
last modified time | relevance | path

Searched refs:af_cnt (Results 1 - 4 of 4) sorted by relevance

/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/tl/
H A Dmali_kbase_timeline.c72 int af_cnt = atomic_read(&stream->autoflush_counter); in kbasep_timeline_autoflush_timer_callback() local
74 if (af_cnt < 0) { in kbasep_timeline_autoflush_timer_callback()
79 if (af_cnt != atomic_cmpxchg(&stream->autoflush_counter, af_cnt, af_cnt + 1)) { in kbasep_timeline_autoflush_timer_callback()
82 if (!af_cnt) { in kbasep_timeline_autoflush_timer_callback()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/tl/
H A Dmali_kbase_timeline.c76 int af_cnt = atomic_read(&stream->autoflush_counter); in kbasep_timeline_autoflush_timer_callback() local
79 if (af_cnt < 0) in kbasep_timeline_autoflush_timer_callback()
83 if (af_cnt != atomic_cmpxchg( in kbasep_timeline_autoflush_timer_callback()
85 af_cnt, in kbasep_timeline_autoflush_timer_callback()
86 af_cnt + 1)) in kbasep_timeline_autoflush_timer_callback()
88 if (!af_cnt) in kbasep_timeline_autoflush_timer_callback()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
H A Dmali_kbase_tlstream.c768 int af_cnt = atomic_read(&stream->autoflush_counter); in kbasep_tlstream_autoflush_timer_callback() local
770 if (af_cnt < 0) { in kbasep_tlstream_autoflush_timer_callback()
775 if (af_cnt != atomic_cmpxchg(&stream->autoflush_counter, af_cnt, af_cnt + 1)) { in kbasep_tlstream_autoflush_timer_callback()
778 if (!af_cnt) { in kbasep_tlstream_autoflush_timer_callback()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_tlstream.c1060 int af_cnt = atomic_read(&stream->autoflush_counter); in kbasep_tlstream_autoflush_timer_callback() local
1063 if (0 > af_cnt) in kbasep_tlstream_autoflush_timer_callback()
1067 if (af_cnt != atomic_cmpxchg( in kbasep_tlstream_autoflush_timer_callback()
1069 af_cnt, in kbasep_tlstream_autoflush_timer_callback()
1070 af_cnt + 1)) in kbasep_tlstream_autoflush_timer_callback()
1072 if (!af_cnt) in kbasep_tlstream_autoflush_timer_callback()

Completed in 8 milliseconds