Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9d6b7a64 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu/vce2: add ring callbacks for ib and dma frame size

parent a6f8d728
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -622,6 +622,8 @@ static const struct amdgpu_ring_funcs vce_v2_0_ring_funcs = {
	.pad_ib = amdgpu_ring_generic_pad_ib,
	.begin_use = amdgpu_vce_ring_begin_use,
	.end_use = amdgpu_vce_ring_end_use,
	.get_emit_ib_size = amdgpu_vce_ring_get_emit_ib_size,
	.get_dma_frame_size = amdgpu_vce_ring_get_dma_frame_size,
};

static void vce_v2_0_set_ring_funcs(struct amdgpu_device *adev)