Hi Emil, I cherry-picked these 2 patches over to the 17.3 branch, then tested locally and confirmed that it works fine.
I also added bugzilla reference to the patch as well. Please see the details in the links below: https://lists.freedesktop.org/archives/mesa-dev/2018-January/183485.html https://lists.freedesktop.org/archives/mesa-dev/2018-January/183484.html Regards, Boyuan -----Original Message----- From: Emil Velikov [mailto:emil.l.veli...@gmail.com] Sent: January-24-18 8:38 AM To: Zhang, Boyuan; ML mesa-stable Cc: ML mesa-dev Subject: Re: [Mesa-dev] [PATCH 1/2] radeon/vcn: add and manage render picture list On 11 December 2017 at 16:47, <boyuan.zh...@amd.com> wrote: > From: Boyuan Zhang <boyuan.zh...@amd.com> > > Create a list in decoder to store all render picture buffer pointers > that currently being used in reference picture lists. > > During get message buffer call, check each pointer in > render_pic_list[] within given pic->ref[] list, remove pointer that no > longer being used by > pic->ref[]. Then add current render surface pointer to the > pic->render_pic_list[] > and assign the associated index to result.curr_idx. > > As a result, result.curr_idx will have the correct index to represent > the current render picture, instead of the previous increamenting values. > > Signed-off-by: Boyuan Zhang <boyuan.zh...@amd.com> > Reviewed-by: Christian König <christian.koe...@amd.com> > --- We'd want this and 2/2 (sha's below) in stable. Otherwise people will experience regressions when updating their firmware. f2bfd1cbb7e radeon/vcn: add and manage render picture list 2ec48039b8a radeon/uvd: add and manage render picture list Including the bugzilla reference will be great. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104745 -Emil _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev