Repository navigation
Commit 83f5236
committed
drm/i915: Remove memory frequency calculation
This memory frequency calculated is only used to check if it is zero,
what is not useful as it will never actually be zero.
Also the calculation is wrong, we should be checking other bit to
select the appropriate frequency multiplier while this code is stuck
with a fixed multiplier.
So here dropping it as whole.
v2:
- Also remove memory frequency calculation for gen9 LP platforms
Cc: Yakui Zhao <yakui.zhao@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Fixes: 5d0c938 ("drm/i915/gen11+: Only load DRAM information from pcode")
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211013010046.91858-1-jose.souza@intel.com1 parent e690858 commit 83f5236
2 files changed
Lines changed: 2 additions & 36 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11106 | 11106 | | |
11107 | 11107 | | |
11108 | 11108 | | |
11109 | | - | |
11110 | | - | |
11111 | | - | |
11112 | | - | |
11113 | | - | |
11114 | | - | |
11115 | 11109 | | |
11116 | 11110 | | |
11117 | 11111 | | |
| |||
11142 | 11136 | | |
11143 | 11137 | | |
11144 | 11138 | | |
11145 | | - | |
11146 | 11139 | | |
11147 | | - | |
11148 | 11140 | | |
11149 | 11141 | | |
11150 | 11142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
248 | 247 | | |
249 | 248 | | |
250 | 249 | | |
| |||
255 | 254 | | |
256 | 255 | | |
257 | 256 | | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | 257 | | |
270 | 258 | | |
271 | 259 | | |
| |||
350 | 338 | | |
351 | 339 | | |
352 | 340 | | |
353 | | - | |
354 | | - | |
355 | | - | |
| 341 | + | |
| 342 | + | |
356 | 343 | | |
357 | 344 | | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | 345 | | |
372 | 346 | | |
373 | 347 | | |
| |||
0 commit comments