Re: [PATCH] drm/amdgpu/{uvd,vcn}: fetch ring's read_ptr after alloc

2019-06-04 Thread Alex Deucher
On Tue, Jun 4, 2019 at 12:07 PM S, Shirish wrote: > > [What] > readptr read always returns zero, since most likely > UVD block is either power or clock gated. > > [How] > fetch rptr after amdgpu_ring_alloc() which informs > the power management code that the block is about to be > used and hence t

Re: [PATCH] drm/amdgpu/{uvd,vcn}: fetch ring's read_ptr after alloc

2019-06-04 Thread S, Shirish
Hi Alex, On 6/4/2019 9:43 PM, Alex Deucher wrote: > On Tue, Jun 4, 2019 at 12:07 PM S, Shirish wrote: >> [What] >> readptr read always returns zero, since most likely >> UVD block is either power or clock gated. >> >> [How] >> fetch rptr after amdgpu_ring_alloc() which informs >> the power manage

Re: [PATCH] drm/amdgpu/{uvd,vcn}: fetch ring's read_ptr after alloc

2019-06-05 Thread Koenig, Christian
Am 05.06.19 um 03:35 schrieb S, Shirish: > Hi Alex, > > On 6/4/2019 9:43 PM, Alex Deucher wrote: >> On Tue, Jun 4, 2019 at 12:07 PM S, Shirish wrote: >>> [What] >>> readptr read always returns zero, since most likely >>> UVD block is either power or clock gated. >>> >>> [How] >>> fetch rptr after