drm/radeon: replace pflip and sw_int counters with atomics
authorChristian Koenig <christian.koenig@amd.com>
Thu, 17 May 2012 17:52:00 +0000 (19:52 +0200)
committerChristian König <deathsimple@vodafone.de>
Thu, 21 Jun 2012 07:38:53 +0000 (09:38 +0200)
commit736fc37fd7c7634e939e9ec0c67765941913bb82
treebf98094b72dc7b41ae4714a7b51f0e54d799419a
parentfb98257a9d9d2089972b18079d5bdd4412e107e2
drm/radeon: replace pflip and sw_int counters with atomics

So we can skip the locking. Also renames sw_int to
ring_int, cause that better matches its purpose.

Signed-off-by: Christian Koenig <christian.koenig@amd.com>
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_irq_kms.c
drivers/gpu/drm/radeon/rs600.c
drivers/gpu/drm/radeon/si.c