[PATCH] amd/amdgpu: add missing break statement
Alex Deucher
alexdeucher at gmail.com
Mon Dec 16 21:48:56 UTC 2019
On Mon, Dec 16, 2019 at 4:29 PM Nirmoy Das <nirmoy.aiemd at gmail.com> wrote:
>
> Fixes: 8c066a8c7a9ac9a66 (amd/amdgpu: add sched array to IPs with multiple run-queues)
>
> Signed-off-by: Nirmoy Das <nirmoy.das at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
> index f5fe60465524..63f6365312d5 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
> @@ -160,6 +160,7 @@ static int amdgpu_ctx_init(struct amdgpu_device *adev,
> case AMDGPU_HW_IP_VCN_ENC:
> scheds = adev->vcn.vcn_enc_sched;
> num_scheds = adev->vcn.num_vcn_enc_sched;
> + break;
> case AMDGPU_HW_IP_VCN_JPEG:
> scheds = adev->jpeg.jpeg_sched;
> num_scheds = adev->jpeg.num_jpeg_sched;
> --
> 2.24.0
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
More information about the amd-gfx
mailing list