Re: [PATCH 4/4] drm/amdkfd: Add sdma allocation debug message

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

 



On Tue, Nov 13, 2018 at 2:11 PM Oak Zeng <ozeng@xxxxxxx> wrote:
>
> From: Oak Zeng <Oak.Zeng@xxxxxxx>
>
> Change-Id: I47ec79eceac810f7031eaf88d267fc8370501c27
> Signed-off-by: Oak Zeng <Oak.Zeng@xxxxxxx>
> Reviewd-by: Felix Kuehling <Felix.Kuehling@xxxxxxx>

Typo: Reviewed-by
Also please add a patch description.
With that fixed:
Acked-by: Alex Deucher <alexander.deucher@xxxxxxx>

> ---
>  drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
> index bc8f955..116afef 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
> @@ -1197,6 +1197,9 @@ static int create_queue_cpsch(struct device_queue_manager *dqm, struct queue *q,
>                         q->sdma_id / get_num_sdma_engines(dqm);
>                 q->properties.sdma_engine_id =
>                         q->sdma_id % get_num_sdma_engines(dqm);
> +               pr_debug("SDMA id is:    %d\n", q->sdma_id);
> +               pr_debug("SDMA queue id: %d\n", q->properties.sdma_queue_id);
> +               pr_debug("SDMA engine id: %d\n", q->properties.sdma_engine_id);
>         }
>
>         retval = allocate_doorbell(qpd, q);
> --
> 2.7.4
>
> _______________________________________________
> 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