#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <linux/interrupt.h>
-#include <soc/starfive/jh7110_pmu.h>
+#include <soc/starfive/jh71xx_pmu.h>
#endif
#include "pvr_debug.h"
static void SetVoltage(IMG_UINT32 ui32Volt) {}
#endif
-extern void sifive_l2_flush64_range(unsigned long start, unsigned long len);
+extern void sifive_flush64_range(unsigned long start, unsigned long len);
void do_sifive_l2_flush64_range(unsigned long start, unsigned long len)
{
- sifive_l2_flush64_range(ALIGN_DOWN(start, 64), len + start % 64);
+ sifive_flush64_range(ALIGN_DOWN(start, 64), len + start % 64);
}
void do_invalid_range(unsigned long start, unsigned long len)
static IMG_UINT32 sys_gpu_runtime_resume(IMG_HANDLE hd)
{
- starfive_pmu_hw_event_turn_off_mask(0);
+ jh71xx_pmu_hw_event_turn_off_mask(0);
clk_prepare_enable(sf_cfg_t.clk_axi);
u0_img_gpu_enable();
{
u0_img_gpu_disable();
clk_disable_unprepare(sf_cfg_t.clk_axi);
- starfive_pmu_hw_event_turn_off_mask((uint32_t)-1);
+ jh71xx_pmu_hw_event_turn_off_mask((uint32_t)-1);
return 0;
}