drm/radeon: fix CP semaphores on CIK
authorChristian König <christian.koenig@amd.com>
Tue, 18 Feb 2014 08:50:22 +0000 (01:50 -0700)
committerChristian König <christian.koenig@amd.com>
Tue, 18 Feb 2014 10:30:59 +0000 (11:30 +0100)
commit1c61eae469e0d1d2fb9d7b77f51ca50c1f8f3ce9
tree20c4df1c93f80514de8492d000b378a430469cb7
parentd02f8575f1a38b3180a76a8ae0857dfde67f5ead
drm/radeon: fix CP semaphores on CIK

The CP semaphore queue on CIK has a bug that triggers if uncompleted
waits use the same address while a signal is still pending. Work around
this by using different addresses for each sync.

Signed-off-by: Christian König <christian.koenig@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_ring.c
drivers/gpu/drm/radeon/radeon_semaphore.c