On 12 December 2016 at 18:51, <arindam.nath@xxxxxxx> wrote: > From: Arindam Nath <arindam.nath@xxxxxxx> > > User might want to query the maximum number of UVD > instances supported by firmware. In addition to that, > if there are multiple applications using UVD handles > at the same time, he might also want to query the > currently used number of handles. > > For this we add a new query AMDGPU_INFO_NUM_HANDLES > and a new struct drm_amdgpu_info_num_handles to > get these values. > > Signed-off-by: Arindam Nath <arindam.nath@xxxxxxx> > Reviewed-by: Christian König <christian.koenig@xxxxxxx> > --- > include/drm/amdgpu_drm.h | 9 +++++++++ > 1 file changed, 9 insertions(+) > Follow the documented way to update the libdrm headers [1]. You will want to tackle this [2] small task first. If the documentation is unclear and/or can be improved feel free to send a patch. Thanks Emil [1] https://cgit.freedesktop.org/mesa/drm/tree/include/drm/README#n68 [2] https://cgit.freedesktop.org/mesa/drm/tree/include/drm/README#n97 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel