[Mesa-dev] [PATCH] radeon/uvd: fix the H264 level for Tonga

Alex Deucher alexdeucher at gmail.com
Wed May 25 15:56:14 UTC 2016


On Wed, May 25, 2016 at 10:57 AM, Christian König
<deathsimple at vodafone.de> wrote:
> From: Christian König <christian.koenig at amd.com>
>
> We support 5.1 for a while now.
>
> Signed-off-by: Christian König <christian.koenig at amd.com>

Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

CC stable?

> ---
>  src/gallium/drivers/radeon/radeon_video.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/radeon/radeon_video.c b/src/gallium/drivers/radeon/radeon_video.c
> index da65ce8..3482418 100644
> --- a/src/gallium/drivers/radeon/radeon_video.c
> +++ b/src/gallium/drivers/radeon/radeon_video.c
> @@ -298,7 +298,7 @@ int rvid_get_video_param(struct pipe_screen *screen,
>                 case PIPE_VIDEO_PROFILE_MPEG4_AVC_BASELINE:
>                 case PIPE_VIDEO_PROFILE_MPEG4_AVC_MAIN:
>                 case PIPE_VIDEO_PROFILE_MPEG4_AVC_HIGH:
> -                       return 41;
> +                       return (rscreen->family < CHIP_TONGA) ? 41 : 51;
>                 case PIPE_VIDEO_PROFILE_HEVC_MAIN:
>                 case PIPE_VIDEO_PROFILE_HEVC_MAIN_10:
>                         return 186;
> --
> 2.5.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list