Loading drivers/gpu/msm/Kconfig +2 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ config MSM_KGSL select PM_DEVFREQ select DEVFREQ_GOV_SIMPLE_ONDEMAND select DEVFREQ_GOV_PERFORMANCE select DEVFREQ_GOV_MSM_ADRENO_TZ ---help--- 3D graphics driver. Required to use hardware accelerated OpenGL ES 2.0 and 1.1. Loading Loading @@ -65,6 +66,7 @@ config MSM_KGSL_2D config MSM_ADRENO_DEFAULT_GOVERNOR string "devfreq governor for the adreno core" default "msm-adreno-tz" if DEVFREQ_GOV_MSM_ADRENO_TZ default "simple_ondemand" depends on MSM_KGSL Loading drivers/gpu/msm/adreno.c +5 −0 Original line number Diff line number Diff line Loading @@ -87,8 +87,13 @@ static struct devfreq_simple_ondemand_data adreno_ondemand_data = { .downdifferential = 20, }; static struct devfreq_msm_adreno_tz_data adreno_tz_data = { .device_id = KGSL_DEVICE_3D0, }; static const struct devfreq_governor_data adreno_governors[] = { { .name = "simple_ondemand", .data = &adreno_ondemand_data }, { .name = "msm-adreno-tz", .data = &adreno_tz_data }, }; static const struct kgsl_functable adreno_functable; Loading Loading
drivers/gpu/msm/Kconfig +2 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ config MSM_KGSL select PM_DEVFREQ select DEVFREQ_GOV_SIMPLE_ONDEMAND select DEVFREQ_GOV_PERFORMANCE select DEVFREQ_GOV_MSM_ADRENO_TZ ---help--- 3D graphics driver. Required to use hardware accelerated OpenGL ES 2.0 and 1.1. Loading Loading @@ -65,6 +66,7 @@ config MSM_KGSL_2D config MSM_ADRENO_DEFAULT_GOVERNOR string "devfreq governor for the adreno core" default "msm-adreno-tz" if DEVFREQ_GOV_MSM_ADRENO_TZ default "simple_ondemand" depends on MSM_KGSL Loading
drivers/gpu/msm/adreno.c +5 −0 Original line number Diff line number Diff line Loading @@ -87,8 +87,13 @@ static struct devfreq_simple_ondemand_data adreno_ondemand_data = { .downdifferential = 20, }; static struct devfreq_msm_adreno_tz_data adreno_tz_data = { .device_id = KGSL_DEVICE_3D0, }; static const struct devfreq_governor_data adreno_governors[] = { { .name = "simple_ondemand", .data = &adreno_ondemand_data }, { .name = "msm-adreno-tz", .data = &adreno_tz_data }, }; static const struct kgsl_functable adreno_functable; Loading