summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
diff options
context:
space:
mode:
authormonk.liu2015-06-03 10:32:49 +0200
committerAlex Deucher2015-06-04 03:04:00 +0200
commit35074d2d404049c386e7e70a9e48cf77f1379364 (patch)
treed5724d57d9efc9b38e75359074ea1f55ad6090ad /drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
parentdrm/amdgpu: fix no hdp flush for compute ring (diff)
downloadkernel-qcow2-linux-35074d2d404049c386e7e70a9e48cf77f1379364.tar.gz
kernel-qcow2-linux-35074d2d404049c386e7e70a9e48cf77f1379364.tar.xz
kernel-qcow2-linux-35074d2d404049c386e7e70a9e48cf77f1379364.zip
drm/amdgpu: add hdp flush for gfx8 compute ring
We had forgotten to register the callback. Signed-off-by: monk.liu <monk.liu@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: jammy zhou <jammy.zhou@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
index c3aebdffeea1..ffdba1965029 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
@@ -4144,6 +4144,7 @@ static const struct amdgpu_ring_funcs gfx_v8_0_ring_funcs_compute = {
.emit_semaphore = gfx_v8_0_ring_emit_semaphore,
.emit_vm_flush = gfx_v8_0_ring_emit_vm_flush,
.emit_gds_switch = gfx_v8_0_ring_emit_gds_switch,
+ .emit_hdp_flush = gfx_v8_0_ring_emit_hdp_flush,
.test_ring = gfx_v8_0_ring_test_ring,
.test_ib = gfx_v8_0_ring_test_ib,
.is_lockup = gfx_v8_0_ring_is_lockup,