[PATCH] drm/amdgpu: add VCN JPEG support amdgpu_ctx_num_entities

Christian König ckoenig.leichtzumerken at gmail.com
Fri Nov 30 09:10:54 UTC 2018


Am 30.11.18 um 03:00 schrieb Alex Deucher:
> Looks like it was missed when setting support was added.
>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

Reviewed-by: Christian König <christian.koenig at amd.com>

> ---
>
> This is a legit bug fix.  the rest of this series needs more work.
>
> 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 f9b54236102d..95f4c4139fc6 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
> @@ -39,6 +39,7 @@ const unsigned int amdgpu_ctx_num_entities[AMDGPU_HW_IP_NUM] = {
>   	[AMDGPU_HW_IP_UVD_ENC]	=	1,
>   	[AMDGPU_HW_IP_VCN_DEC]	=	1,
>   	[AMDGPU_HW_IP_VCN_ENC]	=	1,
> +	[AMDGPU_HW_IP_VCN_JPEG]	=	1,
>   };
>   
>   static int amdgput_ctx_total_num_entities(void)



More information about the amd-gfx mailing list