From: Yong Zhao Date: Fri, 17 Apr 2020 20:11:48 +0000 (-0400) Subject: drm/amdgpu: Print CU information by default during initialization X-Git-Tag: v5.8-rc1~194^2~15^2~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d69b8971e540ae908a4b7ba44aa11ecb42a2c406;p=thirdparty%2Fkernel%2Flinux.git 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 Reviewed-by: Dennis Li Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index ad74fd88fa76c..889e688515045 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,