From: monk.liu Date: Wed, 3 Jun 2015 08:32:49 +0000 (+0800) Subject: drm/amdgpu: add hdp flush for gfx8 compute ring X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=35074d2d404049c386e7e70a9e48cf77f1379364;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git drm/amdgpu: add hdp flush for gfx8 compute ring We had forgotten to register the callback. Signed-off-by: monk.liu Reviewed-by: Christian König Reviewed-by: jammy zhou --- 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,