[PATCH] drm/amdgpu: correct vmhub for vcn dec/enc ring

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 15, 2017 at 5:06 AM, Hawking Zhang <Hawking.Zhang at amd.com> wrote:
> Change-Id: I63002c95c25cc3e2df3931d7d0e6b886b1b7e373
> Signed-off-by: Hawking Zhang <Hawking.Zhang at amd.com>

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c b/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
> index 61a25a1..6bd9bb7 100644
> --- a/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
> @@ -1105,6 +1105,7 @@ static const struct amdgpu_ring_funcs vcn_v1_0_dec_ring_vm_funcs = {
>         .align_mask = 0xf,
>         .nop = PACKET0(SOC15_REG_OFFSET(UVD, 0, mmUVD_NO_OP), 0),
>         .support_64bit_ptrs = false,
> +       .vmhub = AMDGPU_MMHUB,
>         .get_rptr = vcn_v1_0_dec_ring_get_rptr,
>         .get_wptr = vcn_v1_0_dec_ring_get_wptr,
>         .set_wptr = vcn_v1_0_dec_ring_set_wptr,
> @@ -1133,6 +1134,7 @@ static const struct amdgpu_ring_funcs vcn_v1_0_enc_ring_vm_funcs = {
>         .align_mask = 0x3f,
>         .nop = VCN_ENC_CMD_NO_OP,
>         .support_64bit_ptrs = false,
> +       .vmhub = AMDGPU_MMHUB,
>         .get_rptr = vcn_v1_0_enc_ring_get_rptr,
>         .get_wptr = vcn_v1_0_enc_ring_get_wptr,
>         .set_wptr = vcn_v1_0_enc_ring_set_wptr,
> --
> 2.7.4
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux