[Mesa-dev] [PATCH] radeonsi: Expose support for 10-bit VP9 decode

Koenig, Christian Christian.Koenig at amd.com
Fri Jul 5 14:06:02 UTC 2019


Please ping Leo Liu since I'm currently on vacation.

Christian.

Am 05.07.2019 10:55 schrieb "Vishwakarma, Pratik" <Pratik.Vishwakarma at amd.com>:

On 6/28/2019 12:32 PM, Christian König wrote:
> Am 28.06.19 um 07:09 schrieb Vishwakarma, Pratik:
>> Fix si_vid_is_format_supported to expose support
>> for 10-bit VP9 decode using P016 format. Without
>> this change, 10-bit decode will be exposed only
>> for HEVC even though newer hardware support
>> 10-bit decode for VP9.
>>
>> Signed-off-by: Pratik Vishwakarma <Pratik.Vishwakarma at amd.com>
>
> Reviewed-by: Christian König <christian.koenig at amd.com>

Thanks Christian. How to get this patch merged?

>
>> ---
>>   src/gallium/drivers/radeonsi/si_get.c | 4 ++++
>>   1 file changed, 4 insertions(+)
>>
>> diff --git a/src/gallium/drivers/radeonsi/si_get.c
>> b/src/gallium/drivers/radeonsi/si_get.c
>> index 4e23d283ab7..8cc5933f9bc 100644
>> --- a/src/gallium/drivers/radeonsi/si_get.c
>> +++ b/src/gallium/drivers/radeonsi/si_get.c
>> @@ -709,6 +709,10 @@ static boolean si_vid_is_format_supported(struct
>> pipe_screen *screen,
>>           return (format == PIPE_FORMAT_NV12) ||
>>               (format == PIPE_FORMAT_P016);
>>   +    /* Vp9 profile 2 supports 10 bit decoding using P016 */
>> +    if (profile == PIPE_VIDEO_PROFILE_VP9_PROFILE2)
>> +        return format == PIPE_FORMAT_P016;
>> +
>>       /* we can only handle this one with UVD */
>>       if (profile != PIPE_VIDEO_PROFILE_UNKNOWN)
>>           return format == PIPE_FORMAT_NV12;
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190705/2da00a28/attachment-0001.html>


More information about the mesa-dev mailing list