projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6f8d72
)
drm/amdgpu/vce2: add ring callbacks for ib and dma frame size
author
Alex Deucher
<
[email protected]
>
Fri, 16 Sep 2016 15:01:52 +0000
(11:01 -0400)
committer
Alex Deucher
<
[email protected]
>
Fri, 16 Sep 2016 19:53:02 +0000
(15:53 -0400)
Reviewed-by: Christian König <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/amdgpu/vce_v2_0.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/vce_v2_0.c
b/drivers/gpu/drm/amd/amdgpu/vce_v2_0.c
index 58af0da387b80e9505e62e67a56f95d77af87103..76e64ad04a53e2f71453c301e4ec0bef022dd9ce 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/vce_v2_0.c
+++ b/
drivers/gpu/drm/amd/amdgpu/vce_v2_0.c
@@
-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)