summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
diff options
context:
space:
mode:
authorHarry Wentland <harry.wentland@amd.com>2017-03-28 11:29:53 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-03-29 23:55:48 -0400
commite51a3226d48fd02b37090a01c17587944743389a (patch)
treefa051ef72604c83a2c305aee6faa3d447de3f482 /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
parent4d6cbde37aac29164193df6d55c3685f223c1f9e (diff)
downloadblackbird-op-linux-e51a3226d48fd02b37090a01c17587944743389a.tar.gz
blackbird-op-linux-e51a3226d48fd02b37090a01c17587944743389a.zip
drm/amdgpu: Couple small warning fixes
Signed-off-by: Harry Wentland <harry.wentland@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
index 6b8bb1b070cc..aab857d89d03 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
@@ -172,7 +172,7 @@ int amdgpu_ib_schedule(struct amdgpu_ring *ring, unsigned num_ibs,
if (ring->funcs->init_cond_exec)
patch_offset = amdgpu_ring_init_cond_exec(ring);
- if (ring->funcs->emit_hdp_flush
+ if (ring->funcs->emit_hdp_flush
#ifdef CONFIG_X86_64
&& !(adev->flags & AMD_IS_APU)
#endif
OpenPOWER on IntegriCloud