mm-drivers: hw_fence: read qtimer for timestamps
Move timestamps to use qtimer instead of sleep timer. Change-Id: I1a5f20c3d1ec31ba13e95713828024a309a53ba1 Signed-off-by: Ingrid Gallardo <quic_ingridg@quicinc.com>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

szülő
674640bc0c
commit
d62205ae1c
@@ -17,7 +17,11 @@
|
||||
|
||||
inline u64 hw_fence_get_qtime(struct hw_fence_driver_data *drv_data)
|
||||
{
|
||||
#ifdef HWFENCE_USE_SLEEP_TIMER
|
||||
return readl_relaxed(drv_data->qtime_io_mem);
|
||||
#else /* USE QTIMER */
|
||||
return arch_timer_read_counter();
|
||||
#endif /* HWFENCE_USE_SLEEP_TIMER */
|
||||
}
|
||||
|
||||
static int init_hw_fences_queues(struct hw_fence_driver_data *drv_data,
|
||||
|
Reference in New Issue
Block a user