Revert "drm/radeon: disable CIK CP semaphores for now"
This reverts commit 99b4f25122
.
Semaphores work fine after further review and testing.
Cc: 3.13 <stable@vger.kernel.org> # 3.13
This commit is contained in:
parent
cfd72a4c20
commit
7f4237c6da
|
@ -3566,8 +3566,6 @@ bool cik_semaphore_ring_emit(struct radeon_device *rdev,
|
||||||
struct radeon_semaphore *semaphore,
|
struct radeon_semaphore *semaphore,
|
||||||
bool emit_wait)
|
bool emit_wait)
|
||||||
{
|
{
|
||||||
/* TODO: figure out why semaphore cause lockups */
|
|
||||||
#if 0
|
|
||||||
uint64_t addr = semaphore->gpu_addr;
|
uint64_t addr = semaphore->gpu_addr;
|
||||||
unsigned sel = emit_wait ? PACKET3_SEM_SEL_WAIT : PACKET3_SEM_SEL_SIGNAL;
|
unsigned sel = emit_wait ? PACKET3_SEM_SEL_WAIT : PACKET3_SEM_SEL_SIGNAL;
|
||||||
|
|
||||||
|
@ -3576,9 +3574,6 @@ bool cik_semaphore_ring_emit(struct radeon_device *rdev,
|
||||||
radeon_ring_write(ring, (upper_32_bits(addr) & 0xffff) | sel);
|
radeon_ring_write(ring, (upper_32_bits(addr) & 0xffff) | sel);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
#else
|
|
||||||
return false;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue