summaryrefslogtreecommitdiff
path: root/drivers/mxc/gpu-viv
diff options
context:
space:
mode:
authoryuan.tian <yuan.tian@nxp.com>2022-09-20 11:33:08 +0800
committeryuan.tian <yuan.tian@nxp.com>2022-10-09 10:08:47 +0800
commite35d0b32281c5723a8a884d56653c904ce4fe514 (patch)
tree0098b73c2761f8d548e24a33cdc1b18d2c42aa1b /drivers/mxc/gpu-viv
parent3159c5a57275af135f6159b5b2c403b9a56d7d70 (diff)
MGS-6835 [#imx-2760] 0025-CL520026-KERNEL-SPACE-234062-hal-Merging-518316-add-
234062, hal, Merging 518316, add microseconds delay function, 518037, fix regression of 490023 //SW/Rel5x/dev6.4.x/projects.dev_6.4.11_22Q2/... to //SW/Rel5x/dev6.4.x/projects.dev_234062/... Signed-off-by: Ke Feng <ke.feng@verisilicon.com> Signed-off-by: yuan.tian <yuan.tian@nxp.com>
Diffstat (limited to 'drivers/mxc/gpu-viv')
-rw-r--r--drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_base.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_base.h b/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_base.h
index 3069b7f1c3cb..9609fad0e5d5 100644
--- a/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_base.h
+++ b/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_base.h
@@ -1738,12 +1738,14 @@ gcoOS_GetMemoryUsage(
gctUINT32_PTR IsRSS
);
+/* Delay a number of milliseconds. */
+gceSTATUS
+gcoOS_Delay(IN gcoOS Os, IN gctUINT32 Delay);
+
+
/* Delay a number of microseconds. */
gceSTATUS
-gcoOS_Delay(
- IN gcoOS Os,
- IN gctUINT32 Delay
- );
+gcoOS_DelayUs(IN gcoOS Os, IN gctUINT32 Delay);
/*----------------------------------------------------------------------------*/
/*----- Threads --------------------------------------------------------------*/