MGS-4338-1 [#imx-1217] fix GPU probe delay to query frequency
authorXianzhong <xianzhong.li@nxp.com>
Mon, 22 Oct 2018 11:56:47 +0000 (19:56 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commitf0728f9a4a8d2c4e5c2dcb1308a7ff26c972a43f
tree2507cf303c8945d9448506c19a6afaf7578a526a
parentab34f914383a713592a3c9b89f9677d91f69b5eb
MGS-4338-1 [#imx-1217] fix GPU probe delay to query frequency

it is not necessary to query frequency when hardware initialize,
there are two cases which really need to query frequency,
1. application query (such as openCL initialization) with ioctl,
2. debugfs with "cat /sys/kernel/debug/gc/clk"

removed the query from driver probe, no impact on real cases.

Signed-off-by: Xianzhong <xianzhong.li@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
drivers/mxc/gpu-viv/hal/kernel/arch/gc_hal_kernel_hardware.c
drivers/mxc/gpu-viv/hal/kernel/arch/gc_hal_kernel_hardware.h
drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel.c
drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_device.c