[PATCH] drm/amdgpu: add emit reg write reg wait for vcn jpeg

Leo Liu leo.liu at amd.com
Wed Jul 11 19:00:51 UTC 2018


Reviewed-by: Leo Liu <leo.liu at amd.com>


On 07/11/2018 02:55 PM, boyuan.zhang at amd.com wrote:
> From: Boyuan Zhang <boyuan.zhang at amd.com>
>
> The emit_reg_write_reg_wait function was not assigned for vcn jpeg.
> This patch add it back.
>
> Signed-off-by: Boyuan Zhang <boyuan.zhang at amd.com>
> ---
>   drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c b/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
> index b82c920..4fccb21 100644
> --- a/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
> @@ -1722,6 +1722,7 @@ static const struct amdgpu_ring_funcs vcn_v1_0_jpeg_ring_vm_funcs = {
>   	.end_use = amdgpu_vcn_ring_end_use,
>   	.emit_wreg = vcn_v1_0_jpeg_ring_emit_wreg,
>   	.emit_reg_wait = vcn_v1_0_jpeg_ring_emit_reg_wait,
> +	.emit_reg_write_reg_wait = amdgpu_ring_emit_reg_write_reg_wait_helper,
>   };
>   
>   static void vcn_v1_0_set_dec_ring_funcs(struct amdgpu_device *adev)



More information about the amd-gfx mailing list