mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
radeon/vce: disable two pipe mode for stoney
Only one encoding pipe available for Stoney Signed-off-by: Leo Liu <leo.liu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
This commit is contained in:
parent
99d92de5d0
commit
8762570cc5
1 changed files with 2 additions and 1 deletions
|
|
@ -406,7 +406,8 @@ struct pipe_video_codec *rvce_create_encoder(struct pipe_context *context,
|
|||
enc->use_vm = true;
|
||||
if ((rscreen->info.drm_major > 2) || (rscreen->info.drm_minor >= 42))
|
||||
enc->use_vui = true;
|
||||
if (rscreen->info.family >= CHIP_TONGA)
|
||||
if (rscreen->info.family >= CHIP_TONGA &&
|
||||
rscreen->info.family != CHIP_STONEY)
|
||||
enc->dual_pipe = true;
|
||||
/* TODO enable B frame with dual instance */
|
||||
if ((rscreen->info.family >= CHIP_TONGA) &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue