File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
drivers/gpu/drm/msm/adreno Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ struct a6xx_gmu_bo {
19
19
u64 iova ;
20
20
};
21
21
22
+ #define GMU_MAX_GX_FREQS 16
23
+ #define GMU_MAX_CX_FREQS 4
24
+
22
25
/*
23
26
* These define the different GMU wake up options - these define how both the
24
27
* CPU and the GMU bring up the hardware
@@ -79,12 +82,12 @@ struct a6xx_gmu {
79
82
int current_perf_index ;
80
83
81
84
int nr_gpu_freqs ;
82
- unsigned long gpu_freqs [16 ];
83
- u32 gx_arc_votes [16 ];
85
+ unsigned long gpu_freqs [GMU_MAX_GX_FREQS ];
86
+ u32 gx_arc_votes [GMU_MAX_GX_FREQS ];
84
87
85
88
int nr_gmu_freqs ;
86
- unsigned long gmu_freqs [4 ];
87
- u32 cx_arc_votes [4 ];
89
+ unsigned long gmu_freqs [GMU_MAX_CX_FREQS ];
90
+ u32 cx_arc_votes [GMU_MAX_CX_FREQS ];
88
91
89
92
unsigned long freq ;
90
93
You can’t perform that action at this time.
0 commit comments