drm/amdgpu: fix broken UVD startup in phys mode
Subsystems (2)
PATCH 1/1 drm/amdgpu: fix broken UVD startup in phys mode
Add type, align_mask and nop to the physical mode UVD funcs as well.
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c +3 -0
@@ -1022,6 +1022,9 @@ const struct amd_ip_funcs uvd_v6_0_ip_funcs = { };static const struct amdgpu_ring_funcs uvd_v6_0_ring_phys_funcs = { + .type =AMDGPU_RING_TYPE_UVD , + .align_mask =0xf , + .nop =PACKET0 (mmUVD_NO_OP,0 ), .get_rptr = uvd_v6_0_ring_get_rptr, .get_wptr = uvd_v6_0_ring_get_wptr, .set_wptr = uvd_v6_0_ring_set_wptr,
Signature · 6 lines
2.5.5 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 1476214757-5273-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org
Christian König
Reviewed-byAm 11.10.2016 um 21:39 schrieb Alex Deucher:
Quoted 3 lines
Add type,
align_maskand nop to the physical mode UVD funcs as well.Signed-off-by Alex Deucher <[email protected]>
Reviewed-by Christian König <[email protected]>.
Quoted 9 lines
--- drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | 3 +++ 1 file changed, 3 insertions(+)drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c +0
-0
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c const struct amd_ip_funcs uvd_v6_0_ip_funcs = { · line 1030
Quoted 9 lines
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c +3
-0@@ -1022,6 +1022,9 @@ const struct amd_ip_funcs uvd_v6_0_ip_funcs = { };static const struct amdgpu_ring_funcs uvd_v6_0_ring_phys_funcs = { + .type =AMDGPU_RING_TYPE_UVD , + .align_mask =0xf , + .nop =PACKET0 (mmUVD_NO_OP,0 ), .get_rptr = uvd_v6_0_ring_get_rptr, .get_wptr = uvd_v6_0_ring_get_wptr, .set_wptr = uvd_v6_0_ring_set_wptr,
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx