[Mesa-dev] [Mesa-stable] [PATCH] radeon/uvd: fix field handling on R6XX style UVD

Emil Velikov emil.l.velikov at gmail.com
Thu Aug 28 15:37:33 PDT 2014


On 27/08/14 04:23, Alex Deucher wrote:
> On Sun, Aug 24, 2014 at 8:32 AM, Christian König
> <deathsimple at vodafone.de> wrote:
>> From: Christian König <christian.koenig at amd.com>
>>
>> The first UVD generation can only do frame based output.
>>
>> Signed-off-by: Christian König <christian.koenig at amd.com>
> 
> Can someone pick this up for stable?
> 
Queued up for 10.3. Thanks.

-Emil

P.S. I'm working on a summary page similar to Carl's. Should be done some time
this week :)

>> ---
>>  src/gallium/drivers/radeon/radeon_video.c | 7 +++++--
>>  1 file changed, 5 insertions(+), 2 deletions(-)
>>
>> diff --git a/src/gallium/drivers/radeon/radeon_video.c b/src/gallium/drivers/radeon/radeon_video.c
>> index 17e9a59..6dcee45 100644
>> --- a/src/gallium/drivers/radeon/radeon_video.c
>> +++ b/src/gallium/drivers/radeon/radeon_video.c
>> @@ -251,8 +251,11 @@ int rvid_get_video_param(struct pipe_screen *screen,
>>                                profile != PIPE_VIDEO_PROFILE_VC1_MAIN;
>>                 case PIPE_VIDEO_CAP_PREFERS_INTERLACED:
>>                 case PIPE_VIDEO_CAP_SUPPORTS_INTERLACED:
>> -                       /* and MPEG2 only with shaders */
>> -                       return codec != PIPE_VIDEO_FORMAT_MPEG12;
>> +                       /* MPEG2 only with shaders and no support for
>> +                          interlacing on R6xx style UVD */
>> +                       return codec != PIPE_VIDEO_FORMAT_MPEG12 &&
>> +                              /* TODO: RV770 might actually work */
>> +                              rscreen->family > CHIP_RV770;
>>                 default:
>>                         break;
>>                 }
>> --
>> 1.9.1
>>
>> _______________________________________________
>> mesa-dev mailing list
>> mesa-dev at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
> _______________________________________________
> mesa-stable mailing list
> mesa-stable at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-stable
> 



More information about the mesa-dev mailing list