Re: [PATCH 3/3] drm/amdgpu: Print CU information by default during initialization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 17, 2020 at 4:45 PM Yong Zhao <Yong.Zhao@xxxxxxx> wrote:
>
> This is convenient for multiple teams to obtain the information.
>
> Signed-off-by: Yong Zhao <Yong.Zhao@xxxxxxx>
> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> index 71ea56e220ae..92b7a1ff1dc1 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> @@ -3170,7 +3170,7 @@ int amdgpu_device_init(struct amdgpu_device *adev,
>                 goto failed;
>         }
>
> -       DRM_DEBUG("SE %d, SH per SE %d, CU per SH %d, active_cu_number %d\n",
> +       DRM_INFO("SE %d, SH per SE %d, CU per SH %d, active_cu_number %d\n",

While you are at it, replace this with pr_info or dev_info.  The
output is more useful with multiple devices in a system.

Alex

>                         adev->gfx.config.max_shader_engines,
>                         adev->gfx.config.max_sh_per_se,
>                         adev->gfx.config.max_cu_per_sh,
> --
> 2.17.1
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux