[Mesa-stable] [Mesa-dev] [PATCH] radeon/vce: disable Stoney VCE for 11.0
Alex Deucher
alexdeucher at gmail.com
Fri Nov 20 09:16:28 PST 2015
On Fri, Nov 20, 2015 at 12:07 PM, Leo Liu <leo.liu at amd.com> wrote:
> Signed-off-by: Leo Liu <leo.liu at amd.com>
> Cc: "11.0" <mesa-stable at lists.freedesktop.org>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> src/gallium/drivers/radeon/radeon_vce.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/src/gallium/drivers/radeon/radeon_vce.c b/src/gallium/drivers/radeon/radeon_vce.c
> index 0dac6fb..7c5a961 100644
> --- a/src/gallium/drivers/radeon/radeon_vce.c
> +++ b/src/gallium/drivers/radeon/radeon_vce.c
> @@ -388,6 +388,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;
> --
> 2.5.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-stable
mailing list