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

2017-01-02 Thread Christian König
Am 15.12.2016 um 23:43 schrieb Grazvydas Ignotas: On Thu, Dec 15, 2016 at 4:12 PM, Christian König wrote: Regarding which error code to return I think that Emil has the right idea here. Returning -EINVAL usually means that userspace provided an invalid value, but in this case it doesn't matter

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

2016-12-15 Thread Grazvydas Ignotas
On Thu, Dec 15, 2016 at 4:12 PM, Christian König wrote: > > Regarding which error code to return I think that Emil has the right idea > here. > > Returning -EINVAL usually means that userspace provided an invalid value, > but in this case it doesn't matter which value the UMD provide all of them >

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

2016-12-15 Thread Christian König
Subject: Re: [PATCH 1/1] drm/amd/amdgpu: get maximum and used UVD handles (v3) On Thu, Dec 15, 2016 at 1:47 PM, Nath, Arindam wrote: -Original Message- From: Emil Velikov [mailto:emil.l.veli...@gmail.com] Sent: Thursday, December 15, 2016 5:01 PM To: Nath, Arindam Cc: David Airlie; Deucher

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

2016-12-15 Thread Nath, Arindam
ath, Arindam >>>Cc: David Airlie; Deucher, Alexander; amd-gfx mailing list; ML dri-devel; >>>Koenig, Christian >>>Subject: Re: [PATCH 1/1] drm/amd/amdgpu: get maximum and used UVD >>>handles (v3) >>> >>>On 15 December 2016 at 07:30, Nath, Arinda

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

2016-12-15 Thread Grazvydas Ignotas
dri-devel; >>Koenig, Christian >>Subject: Re: [PATCH 1/1] drm/amd/amdgpu: get maximum and used UVD >>handles (v3) >> >>On 15 December 2016 at 07:30, Nath, Arindam >>wrote: >>>>-Original Message- >>>>From: Emil Velikov [mailto:emil

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

2016-12-15 Thread Nath, Arindam
>>>Cc: David Airlie; Deucher, Alexander; amd-gfx mailing list; ML dri-devel; >>>Koenig, Christian >>>Subject: Re: [PATCH 1/1] drm/amd/amdgpu: get maximum and used UVD >>>handles (v3) >>> >>>On 12 December 2016 at 18:49, wrote: >>>> F

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

2016-12-15 Thread Emil Velikov
dri-devel; >>Koenig, Christian >>Subject: Re: [PATCH 1/1] drm/amd/amdgpu: get maximum and used UVD >>handles (v3) >> >>On 12 December 2016 at 18:49, wrote: >>> From: Arindam Nath >>> >>> Change History >>> -- >

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

2016-12-14 Thread Nath, Arindam
>-Original Message- >From: Emil Velikov [mailto:emil.l.veli...@gmail.com] >Sent: Wednesday, December 14, 2016 9:26 PM >To: Nath, Arindam >Cc: David Airlie; Deucher, Alexander; amd-gfx mailing list; ML dri-devel; >Koenig, Christian >Subject: Re: [PATCH 1/1] drm/amd/am

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

2016-12-14 Thread Emil Velikov
On 12 December 2016 at 18:49, wrote: > 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