All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] fix dma frame of GFX8
@ 2016-08-25  5:58 Monk Liu
       [not found] ` <1472104695-2177-1-git-send-email-Monk.Liu-5C7GfCeVMHo@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Monk Liu @ 2016-08-25  5:58 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Monk Liu

original SWITCH_BUFFER scheme for GFX8 doesn't support virtualization, and
it give worse performance, now we use the classic scheme to support 
virtualization and gain more performance by only inserting one SWITCH_BUFFER
at the bottom of each command submit, and doing this requires 128dw NOP inserted
after VM flush as well to prevent CE trigger vm fault before De vm_flush done.

now 256 dw for each command submit is enough.

Monk Liu (2):
  drm/amdgpu:fix gfx ib schedule
  drm/amdgpu:256dw is enough for one ib_schedule

 drivers/gpu/drm/amd/amdgpu/amdgpu.h    |  2 ++
 drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 10 +++++++++-
 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c  | 28 +++++++++++++---------------
 3 files changed, 24 insertions(+), 16 deletions(-)

-- 
1.9.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-08-26  3:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-25  5:58 [PATCH 0/2] fix dma frame of GFX8 Monk Liu
     [not found] ` <1472104695-2177-1-git-send-email-Monk.Liu-5C7GfCeVMHo@public.gmane.org>
2016-08-25  5:58   ` [PATCH 1/2] drm/amdgpu:fix gfx ib schedule Monk Liu
     [not found]     ` <1472104695-2177-2-git-send-email-Monk.Liu-5C7GfCeVMHo@public.gmane.org>
2016-08-25 13:32       ` Deucher, Alexander
     [not found]         ` <MWHPR12MB1694872A4032E24D0D45ACC9F7ED0-Gy0DoCVfaSW4WA4dJ5YXGAdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2016-08-26  3:01           ` Liu, Monk
     [not found]             ` <MWHPR12MB1182D7D62658692C1F90D64984EC0-Gy0DoCVfaSVhjnLHdLm0OQdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2016-08-26  3:39               ` Liu, Monk
2016-08-25  5:58   ` [PATCH 2/2] drm/amdgpu:256dw is enough for one ib_schedule Monk Liu
     [not found]     ` <1472104695-2177-3-git-send-email-Monk.Liu-5C7GfCeVMHo@public.gmane.org>
2016-08-25  8:12       ` Christian König
     [not found]         ` <41466125-a69e-07c7-bb18-153c841c1d48-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2016-08-25  8:28           ` Liu, Monk
     [not found]             ` <MWHPR12MB11821CF6BAF190E13914704984ED0-Gy0DoCVfaSVhjnLHdLm0OQdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2016-08-25  8:30               ` Christian König

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.