diff options
| author | Le Ma <le.ma@amd.com> | 2022-12-09 19:44:05 +0800 | 
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-09 09:50:30 -0400 | 
| commit | 98b2e9cad2279132e3aa4b9caf9164b2e35c1a52 (patch) | |
| tree | 15fad3a321f8d41a256fb1d6a9fecc6bf2f7bfcc /drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | |
| parent | 1794e9d7e78cb52605234d0ddc3f46084937f4e9 (diff) | |
drm/amdgpu: correct the vmhub index when page fault occurs
The AMDGPU_GFXHUB was bind to each xcc in the logical order.
Thus convert the node_id to logical xcc_id to index the
correct AMDGPU_GFXHUB. And "node_id / 4" can get the correct
AMDGPU_MMHUB0 index.
Signed-off-by: Le Ma <le.ma@amd.com>
Tested-by: Asad kamal <asad.kamal@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c')
0 files changed, 0 insertions, 0 deletions
