Commit bdb7218
drm/amdgpu: finalizing mem_partitions at the end of GMC v9 sw_fini
The valid num_mem_partitions is required during ttm pool fini,
thus move the cleanup at the end of the function.
Signed-off-by: Le Ma <le.ma@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>1 parent 0288603 commit bdb7218
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2170 | 2170 | | |
2171 | 2171 | | |
2172 | 2172 | | |
2173 | | - | |
2174 | | - | |
2175 | 2173 | | |
2176 | 2174 | | |
2177 | 2175 | | |
| |||
2185 | 2183 | | |
2186 | 2184 | | |
2187 | 2185 | | |
| 2186 | + | |
| 2187 | + | |
| 2188 | + | |
2188 | 2189 | | |
2189 | 2190 | | |
2190 | 2191 | | |
| |||
0 commit comments