drm/radeon/kms/r6xx+: use new style fencing (v3)
authorAlex Deucher <alexdeucher@gmail.com>
Sat, 4 Sep 2010 09:04:34 +0000 (05:04 -0400)
committerDave Airlie <airlied@redhat.com>
Wed, 6 Oct 2010 01:38:08 +0000 (11:38 +1000)
commitd0f8a854c340986359a3b0a97e380c71def7a440
tree4f4065bb8c920badc92f56c25b5b105066ae6fc2
parent724c80e1d630296d1324859e964d80d35007d83c
drm/radeon/kms/r6xx+: use new style fencing (v3)

On r6xx+ a newer fence mechanism was implemented to replace
the old wait_until plus scratch regs setup.  A single EOP event
will flush the destination caches, write a fence value, and generate
an interrupt.  This is the recommended fence mechanism on r6xx+ asics.

This requires my previous writeback patch.

v2: fix typo that enabled event fence checking on all asics
rather than just r6xx+.

v3: properly enable EOP interrupts
Should fix:
https://bugs.freedesktop.org/show_bug.cgi?id=29972

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/r600d.h
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_device.c
drivers/gpu/drm/radeon/radeon_fence.c