[PATCH 1/1] drm/amd/amdgpu: get maximum and used UVD handles (v3)

2016-12-13 Thread arindam.n...@amd.com
From: Arindam Nath Change History -- v3: changes suggested by Christian - Add a check for UVD IP block using AMDGPU_HW_IP_UVD query type. - Add a check for asic_type to be less than CHIP_POLARIS10 since starting Polaris, we support unlimited UVD instances. - Add kerneldoc style

[PATCH] amdgpu: get maximum and used UVD handles

2016-12-13 Thread arindam.n...@amd.com
From: Arindam Nath 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_