diff options
author | Mukul Joshi <mukul.joshi@amd.com> | 2022-06-07 14:46:18 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-09 09:44:22 -0400 |
commit | d1d22df174ae512c57374f517e346b608f61555c (patch) | |
tree | 6a10ba60957beeb55936e698c084e624bc6c8436 /drivers/gpu/drm/amd/amdgpu/gfxhub_v1_2.c | |
parent | 1bd6dd21fcd53ac78a9018b96699ef1aa99a3e59 (diff) |
drm/amdkfd: Populate memory info before adding GPU node to topology
The local memory info needs to be fetched before the GPU node is added
to topology. Without this, the sysfs is incorrectly populated and the
size is reported as 0. This was causing rocr tests to fail. This issue
was caused because of a bad merge.
Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Reviewed-by: Amber Lin <Amber.Lin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfxhub_v1_2.c')
0 files changed, 0 insertions, 0 deletions