mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
mali400: mali: Add support to set clk to normal pll for rk3518
Change-Id: I74440a835ef513d2f936b5b7f9a89a82ce15e021 Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
This commit is contained in:
@@ -465,7 +465,7 @@ static int rk_platform_power_on_gpu(struct device *dev)
|
||||
goto fail_to_enable_regulator;
|
||||
}
|
||||
|
||||
if (cpu_is_rk3528()) {
|
||||
if (cpu_is_rk3528() || cpu_is_rk3518()) {
|
||||
#if defined(CONFIG_MALI_DEVFREQ) && defined(CONFIG_HAVE_CLK)
|
||||
struct mali_device *mdev = dev_get_drvdata(dev);
|
||||
|
||||
@@ -489,7 +489,7 @@ static void rk_platform_power_off_gpu(struct device *dev)
|
||||
struct rk_context *platform = s_rk_context;
|
||||
|
||||
if (platform->is_powered) {
|
||||
if (cpu_is_rk3528()) {
|
||||
if (cpu_is_rk3528() || cpu_is_rk3518()) {
|
||||
#if defined(CONFIG_MALI_DEVFREQ) && defined(CONFIG_HAVE_CLK)
|
||||
struct mali_device *mdev = dev_get_drvdata(dev);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user