mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
radeon/vce: disable Stoney VCE for 11.0
Signed-off-by: Leo Liu <leo.liu@amd.com> Cc: "11.0" <mesa-stable@lists.freedesktop.org> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
6b149bedc3
commit
31546c0e8f
1 changed files with 5 additions and 0 deletions
|
|
@ -389,6 +389,11 @@ struct pipe_video_codec *rvce_create_encoder(struct pipe_context *context,
|
|||
struct radeon_surf *tmp_surf;
|
||||
unsigned cpb_size;
|
||||
|
||||
if (rscreen->info.family == CHIP_STONEY) {
|
||||
RVID_ERR("Stoney VCE is not supported!\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (!rscreen->info.vce_fw_version) {
|
||||
RVID_ERR("Kernel doesn't supports VCE!\n");
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue