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>
Este cometimento está contido em:

cometido por
Gerrit - the friendly Code Review server

ascendente
674640bc0c
cometimento
d62205ae1c
@@ -17,7 +17,11 @@
|
|||||||
|
|
||||||
inline u64 hw_fence_get_qtime(struct hw_fence_driver_data *drv_data)
|
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);
|
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,
|
static int init_hw_fences_queues(struct hw_fence_driver_data *drv_data,
|
||||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador