#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,23)
#include <linux/math64.h>
#endif
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0)
+#include <mach/common.h>
+#endif
#include <linux/delay.h>
#include <linux/pm_runtime.h>
+
#define _GC_OBJ_ZONE gcvZONE_OS
/*******************************************************************************
IN gceCORE Core
)
{
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,5,0)
#define SRC_SCR_OFFSET 0
#define BP_SRC_SCR_GPU3D_RST 1
#define BP_SRC_SCR_GPU2D_RST 4
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3,5,0)
void __iomem *src_base = IO_ADDRESS(SRC_BASE_ADDR);
gctUINT32 bit_offset,val;
}
gcmkFOOTER_NO();
+#else
+ imx_src_reset_gpu((int)Core);
#endif
return gcvSTATUS_OK;
}