Skip to content

Commit d40f621

Browse files
Lang Yualexdeucher
authored andcommitted
drm/amdgpu/vpe: don't emit cond exec command under collaborate mode
Not ready now. Signed-off-by: Lang Yu <Lang.Yu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 26f5f34 commit d40f621

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,9 @@ static unsigned int vpe_ring_init_cond_exec(struct amdgpu_ring *ring,
571571
{
572572
unsigned int ret;
573573

574+
if (ring->adev->vpe.collaborate_mode)
575+
return ~0;
576+
574577
amdgpu_ring_write(ring, VPE_CMD_HEADER(VPE_CMD_OPCODE_COND_EXE, 0));
575578
amdgpu_ring_write(ring, lower_32_bits(addr));
576579
amdgpu_ring_write(ring, upper_32_bits(addr));

0 commit comments

Comments
 (0)