Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 99b4f251 authored by Christian König's avatar Christian König Committed by Alex Deucher
Browse files

drm/radeon: disable CIK CP semaphores for now



Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
parent 1654b817
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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
}

/**