aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorYong Zhao <Yong.Zhao@amd.com>2020-04-17 16:11:48 -0400
committerAlex Deucher <alexander.deucher@amd.com>2020-04-22 18:11:49 -0400
commitd69b8971e540ae908a4b7ba44aa11ecb42a2c406 (patch)
treeddc7b73cacbc60e4179746d139eefc2f07253f3b /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parenta35da666cc087ce1a89ca8c6441cc575c0b8c36a (diff)
downloadkernel_replicant_linux-d69b8971e540ae908a4b7ba44aa11ecb42a2c406.tar.gz
kernel_replicant_linux-d69b8971e540ae908a4b7ba44aa11ecb42a2c406.tar.bz2
kernel_replicant_linux-d69b8971e540ae908a4b7ba44aa11ecb42a2c406.zip
drm/amdgpu: Print CU information by default during initialization
This is convenient for multiple teams to obtain the information. Also, add device info by using dev_info(). Signed-off-by: Yong Zhao <Yong.Zhao@amd.com> Reviewed-by: Dennis Li <Dennis.Li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index ad74fd88fa76..889e68851504 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -3168,7 +3168,8 @@ fence_driver_init:
goto failed;
}
- DRM_DEBUG("SE %d, SH per SE %d, CU per SH %d, active_cu_number %d\n",
+ dev_info(adev->dev,
+ "SE %d, SH per SE %d, CU per SH %d, active_cu_number %d\n",
adev->gfx.config.max_shader_engines,
adev->gfx.config.max_sh_per_se,
adev->gfx.config.max_cu_per_sh,