[PATCH v2 3/3] drm/amdkfd: Fix bug in call to init_pipelines()
Alex Deucher
alexdeucher at gmail.com
Thu Jan 22 07:57:01 PST 2015
On Thu, Jan 22, 2015 at 5:59 AM, Oded Gabbay <oded.gabbay at amd.com> wrote:
> This patch fixes a bug where the first_pipe index passed into init_pipelines()
> was a #define instead of the value that is passed into amdkfd by radeon
>
> Signed-off-by: Oded Gabbay <oded.gabbay at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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 cd0710a..0d8694f 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
> @@ -588,7 +588,7 @@ static int init_scheduler(struct device_queue_manager *dqm)
>
> pr_debug("kfd: In %s\n", __func__);
>
> - retval = init_pipelines(dqm, get_pipes_num(dqm), KFD_DQM_FIRST_PIPE);
> + retval = init_pipelines(dqm, get_pipes_num(dqm), get_first_pipe(dqm));
> if (retval != 0)
> return retval;
>
> --
> 1.9.1
>
More information about the dri-devel
mailing list