mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
radeonsi/vce: Only send one task per IB
There is no need to use second task for config when creating the
session, also it doesn't work now as we don't set the next task
offset in task info anymore.
Fixes: 9ca1cda2be ("radeonsi/vce: Cleanup")
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34894>
This commit is contained in:
parent
fd1480c3df
commit
ad96031ec6
1 changed files with 1 additions and 1 deletions
|
|
@ -662,7 +662,6 @@ static void rdo(struct rvce_encoder *enc)
|
|||
|
||||
static void config(struct rvce_encoder *enc)
|
||||
{
|
||||
task_info(enc, 0x00000002, 0xffffffff);
|
||||
rate_control(enc);
|
||||
config_extension(enc);
|
||||
motion_estimation(enc);
|
||||
|
|
@ -928,6 +927,7 @@ static void rvce_begin_frame(struct pipe_video_codec *encoder, struct pipe_video
|
|||
|
||||
if (need_rate_control) {
|
||||
session(enc);
|
||||
task_info(enc, 0x00000002, 0xffffffff);
|
||||
config(enc);
|
||||
flush(enc, PIPE_FLUSH_ASYNC, NULL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue