diff options
author | Leo Liu <[email protected]> | 2018-03-19 11:16:46 -0400 |
---|---|---|
committer | Leo Liu <[email protected]> | 2018-03-21 11:24:35 -0400 |
commit | c4de2f0880cfa49bd6fd3138564ee64ef4e637a1 (patch) | |
tree | 0991ac44584221f9db4185b225b841cee9bdba3f /src/gallium/drivers/radeon/radeon_vce.c | |
parent | 1346a36162a87c66a92f77306d251abb2a260fa2 (diff) |
radeon/vce: move feedback command inside of destroy function
On the CI family, firmware requires the destory command have to be the
last command in the IB, moving feedback command after destroy is causing
issues on CI cards, so we have to keep the previous logic that moves
destroy back to the last command.
But as the original issue fixed previously, with the newer family like Vega10,
feedback command have to be included inside of the task info command along
with destroy command.
Fixes: 6d74cb25("radeon/vce: move destroy command before feedback command")
Signed-off-by: Leo Liu <[email protected]>
Acked-by: Christian König <[email protected]>
Cc: [email protected]
Diffstat (limited to 'src/gallium/drivers/radeon/radeon_vce.c')
-rw-r--r-- | src/gallium/drivers/radeon/radeon_vce.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/radeon_vce.c b/src/gallium/drivers/radeon/radeon_vce.c index 427bf01ed8a..c84103e0acc 100644 --- a/src/gallium/drivers/radeon/radeon_vce.c +++ b/src/gallium/drivers/radeon/radeon_vce.c @@ -247,7 +247,6 @@ static void rvce_destroy(struct pipe_video_codec *encoder) enc->fb = &fb; enc->session(enc); enc->destroy(enc); - enc->feedback(enc); flush(enc); si_vid_destroy_buffer(&fb); } |