Skip to content

Commit

Permalink
GPU: R22P0: Update GPU Freq Table/Voltage
Browse files Browse the repository at this point in the history
Max clock at 1146MHz
Min clock at 160MHz
Unvervolted
  • Loading branch information
ananjaser1211 authored and followmsi committed Mar 26, 2019
1 parent f89cfc9 commit cf55613
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions drivers/gpu/arm/t83x/r22p0/platform/exynos/gpu_exynos7870.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,16 @@ void __iomem *g3d1_outstanding_regs;
/* clk,vol,abb,min,max,down stay, pm_qos mem, pm_qos int, pm_qos cpu_kfc_min, pm_qos cpu_egl_max */
static gpu_dvfs_info gpu_dvfs_table_default[] = {
{1300, 900000, 0, 98, 100, 1, 0, 902000, 400000, 1586000, CPU_MAX},
{1246, 900000, 0, 98, 100, 1, 0, 902000, 400000, 1586000, CPU_MAX},
{1146, 900000, 0, 98, 100, 1, 0, 902000, 400000, 1586000, CPU_MAX},
{1001, 900000, 0, 98, 100, 1, 0, 902000, 400000, 1586000, CPU_MAX},
{845, 900000, 0, 78, 98, 1, 0, 836000, 400000, 1248000, CPU_MAX},
{728, 900000, 0, 78, 85, 1, 0, 728000, 400000, 1144000, CPU_MAX},
{676, 900000, 0, 78, 85, 1, 0, 676000, 400000, 902000, CPU_MAX},
{545, 900000, 0, 78, 85, 1, 0, 546000, 334000, 902000, CPU_MAX},
{450, 900000, 0, 78, 85, 1, 0, 451000, 200000, 0, CPU_MAX},
{343, 900000, 0, 78, 85, 1, 0, 275000, 134000, 0, CPU_MAX},
{1246, 925000, 0, 98, 100, 1, 0, 902000, 400000, 1586000, CPU_MAX},
{1146, 890000, 0, 100, 100, 1, 0, 902000, 400000, 1586000, CPU_MAX},
{1001, 880000, 0, 100, 100, 1, 0, 902000, 400000, 1586000, CPU_MAX},
{845, 860000, 0, 90, 95, 1, 0, 836000, 400000, 1248000, CPU_MAX},
{728, 850000, 0, 85, 90, 1, 0, 728000, 400000, 1144000, CPU_MAX},
{676, 840000, 0, 80, 85, 1, 0, 676000, 400000, 902000, CPU_MAX},
{545, 830000, 0, 75, 80, 1, 0, 546000, 334000, 902000, CPU_MAX},
{450, 820000, 0, 70, 75, 1, 0, 451000, 200000, 0, CPU_MAX},
{343, 810000, 0, 15, 20, 1, 0, 275000, 134000, 0, CPU_MAX},
{160, 800000, 0, 15, 15, 1, 0, 265000, 124000, 0, CPU_MAX},
};

static int mif_min_table[] = {
Expand All @@ -94,8 +95,8 @@ static int mif_min_table[] = {
};

static gpu_attribute gpu_config_attributes[] = {
{GPU_MAX_CLOCK, 1001},
{GPU_MAX_CLOCK_LIMIT, 1001},
{GPU_MAX_CLOCK, 728},
{GPU_MAX_CLOCK_LIMIT, 1146},
{GPU_MIN_CLOCK, 343},
{GPU_MIN_CLOCK_LIMIT, 160},
{GPU_DVFS_START_CLOCK, 343},
Expand All @@ -118,7 +119,7 @@ static gpu_attribute gpu_config_attributes[] = {
{GPU_GOVERNOR_INTERACTIVE_HIGHSPEED_DELAY, 0},
{GPU_DEFAULT_VOLTAGE, 800000},
{GPU_COLD_MINIMUM_VOL, 0},
{GPU_VOLTAGE_OFFSET_MARGIN, 25000},
{GPU_VOLTAGE_OFFSET_MARGIN, 20000},
{GPU_TMU_CONTROL, 1},
{GPU_TEMP_THROTTLING1, 1001},
{GPU_TEMP_THROTTLING2, 845},
Expand Down

0 comments on commit cf55613

Please sign in to comment.