drm/amdgpu: Couple small warning fixes
Subsystems (2)
PATCH 1/1 drm/amdgpu: Couple small warning fixes
--- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 3 ++- drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +2 -1
@@ -904,11 +904,12 @@ static int amdgpu_cs_ib_fill(struct amdgpu_device *adev,continue ;if (chunk_ib->ip_type ==AMDGPU_HW_IP_GFX &&amdgpu_sriov_vf (adev)) { -if (chunk_ib->flags &AMDGPU_IB_FLAG_PREEMPT ) +if (chunk_ib->flags &AMDGPU_IB_FLAG_PREEMPT ) {if (chunk_ib->flags &AMDGPU_IB_FLAG_CE ) ce_preempt++;else de_preempt++; + }/* each GFX command submit allows 0 or 1 IB preemptible for CE & DE */ if (ce_preempt >1 || de_preempt >1 )
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c +1 -1
@@ -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
Signature · 6 lines
2.11.0 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 20170328153130.31422-1-harry.wentland-5C7GfCeVMHo@public.gmane.org
Christian König
Reviewed-byAm 28.03.2017 um 17:31 schrieb Harry Wentland:
Quoted 1 line
Signed-off-by Harry Wentland <[email protected]>
Quoted 28 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 3 ++- drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +2
-1@@ -904,11 +904,12 @@ static int amdgpu_cs_ib_fill(struct amdgpu_device *adev,continue ;if (chunk_ib->ip_type ==AMDGPU_HW_IP_GFX &&amdgpu_sriov_vf (adev)) { -if (chunk_ib->flags &AMDGPU_IB_FLAG_PREEMPT ) +if (chunk_ib->flags &AMDGPU_IB_FLAG_PREEMPT ) {if (chunk_ib->flags &AMDGPU_IB_FLAG_CE ) ce_preempt++;else de_preempt++; + }/* each GFX command submit allows 0 or 1 IB preemptible for CE & DE */ if (ce_preempt >1 || de_preempt >1 )drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c +0
-0
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c int amdgpu_ib_schedule(struct amdgpu_ring *ring, unsigned num_ibs, · line 178
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c +1
-1@@ -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
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Deucher, Alexander
Reviewed-by Alex DeucherQuoted 9 lines
-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Harry Wentland
Sent: Tuesday, March 28, 2017 11:32 AM
To: [email protected]
Cc: Wentland, Harry
Subject: [PATCH] drm/amdgpu: Couple small warning fixesSigned-off-by Harry Wentland <[email protected]>
Quoted 46 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 3 ++- drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +2
-1@@ -904,11 +904,12 @@ static int amdgpu_cs_ib_fill(struct amdgpu_device *adev, continue;if (chunk_ib->ip_type ==AMDGPU_HW_IP_GFX &&amdgpu_sriov_vf (adev)) { -if (chunk_ib->flags &AMDGPU_IB_FLAG_PREEMPT ) +if (chunk_ib->flags &AMDGPU_IB_FLAG_PREEMPT ) {if (chunk_ib->flags &AMDGPU_IB_FLAG_CE ) ce_preempt++;else de_preempt++; + }/* each GFX command submit allows 0 or 1 IB
preemptible for CE & DE */drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +0
-0if (ce_preempt >1 || de_preempt >1 )drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c +1
-1@@ -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
--
2.11.0
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx