> -----Original Message-----
> From: amd-gfx [mailto:[email protected]] On Behalf
> Of Christian König
> Sent: Tuesday, October 11, 2016 1:34 PM
> To: [email protected]
> Subject: [PATCH] drm/amdgpu: fix broken VCE startup in phys mode
> 
> From: Christian König <[email protected]>
> 
> Add type, align_mask and nop to the physical mode VCE funcs as well.
> 
> Signed-off-by: Christian König <[email protected]>


Please update uvd6 physical mode as well.

Reviewed-by: Alex Deucher <[email protected]>

> ---
>  drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
> b/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
> index f7dbd0d..c7ddbef 100644
> --- a/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
> @@ -829,6 +829,9 @@ const struct amd_ip_funcs vce_v3_0_ip_funcs = {
>  };
> 
>  static const struct amdgpu_ring_funcs vce_v3_0_ring_phys_funcs = {
> +     .type = AMDGPU_RING_TYPE_VCE,
> +     .align_mask = 0xf,
> +     .nop = VCE_CMD_NO_OP,
>       .get_rptr = vce_v3_0_ring_get_rptr,
>       .get_wptr = vce_v3_0_ring_get_wptr,
>       .set_wptr = vce_v3_0_ring_set_wptr,
> --
> 2.5.0
> 
> _______________________________________________
> amd-gfx mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to