[Intel-gfx] [PATCH] drm/i915: Specify bsd rings through exec flag
Daniel Vetter
daniel at ffwll.ch
Wed Aug 6 09:45:05 CEST 2014
On Wed, Aug 6, 2014 at 3:32 AM, Zhao, Yakui <yakui.zhao at intel.com> wrote:
> >After the GPU hang occurs on BSD ring during decoding, it needs to
> specify the corresponding BSD ring to read the decoding status registers
> related with the BSD ring.
>
> Can this be regarded as one open-source usage scenario?
Sure, but I'm not sure whether this is the correct way to do this - if
some other libva client does an execbuf in-between couldn't these
register get overwritten? It sounds like the kernel should capture
these registers for userspace in a race-free way and then provide them
with maybe an extension to the reset-stats ioctl?
I definitely want to see how this is used in libva before signing up
for a new kernel interface.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
More information about the Intel-gfx
mailing list