drm/radeon: disable CIK CP semaphores for now
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Fri Nov 22 17:59:10 EST 2013
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=99b4f25122f43210278cde17a9d100906235a074
Commit: 99b4f25122f43210278cde17a9d100906235a074
Parent: 1654b817d8f5f1c27ebc98773fe0e517b0ba2f1e
Author: Christian König <christian.koenig at amd.com>
AuthorDate: Tue Nov 12 12:58:06 2013 +0100
Committer: Alex Deucher <alexander.deucher at amd.com>
CommitDate: Fri Nov 15 15:56:16 2013 -0500
drm/radeon: disable CIK CP semaphores for now
Signed-off-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
Cc: stable at vger.kernel.org
---
drivers/gpu/drm/radeon/cik.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/gpu/drm/radeon/cik.c b/drivers/gpu/drm/radeon/cik.c
index 811fc1b..c169897 100644
--- a/drivers/gpu/drm/radeon/cik.c
+++ b/drivers/gpu/drm/radeon/cik.c
@@ -3561,6 +3561,8 @@ bool cik_semaphore_ring_emit(struct radeon_device *rdev,
struct radeon_semaphore *semaphore,
bool emit_wait)
{
+/* TODO: figure out why semaphore cause lockups */
+#if 0
uint64_t addr = semaphore->gpu_addr;
unsigned sel = emit_wait ? PACKET3_SEM_SEL_WAIT : PACKET3_SEM_SEL_SIGNAL;
@@ -3569,6 +3571,9 @@ bool cik_semaphore_ring_emit(struct radeon_device *rdev,
radeon_ring_write(ring, (upper_32_bits(addr) & 0xffff) | sel);
return true;
+#else
+ return false;
+#endif
}
/**
More information about the linux-mtd-cvs
mailing list