[Intel-gfx] [PATCH 7/7] drm/i915: add i915_get_reset_stats_ioctl

Daniel Vetter daniel at ffwll.ch
Wed Oct 30 09:21:44 CET 2013

On Tue, Oct 29, 2013 at 11:29 PM, Ian Romanick <idr at freedesktop.org> wrote:
> On 10/27/2013 05:30 AM, Daniel Vetter wrote:
>> On Fri, Oct 25, 2013 at 06:42:35PM -0700, Ian Romanick wrote:
>>> Since the Mesa merge window is closing soon, I'm finally getting back on
>>> this.  I've pushed a rebase of my old Mesa branch to my fd.o repo
>>> http://cgit.freedesktop.org/~idr/mesa/log/?h=robustness3
>>> I have a couple questions...
>>> 1. Has any of this landed an a kernel tree anywhere?
>> Afaik everything but the actual ioctl and i-g-t testcase has landed.
> And that stuff will land once my patches hit the Mesa list or ... ?


>>> 2. Has any support code landed in a libdrm tree anywhere?
>> Dunno whether Mika has libdrm patches. Since mesa is the only expected
>> user I'd just go with putting the ioctl wrapper (using the drmIoctl
>> helper) into mesa itself, that get rids of a dep for merging this support.
> What's the right way to get the ctx_id out of the drm_intel_context?
> That struct is private to libdrm, but the ioctl needs it.

Hm, I guess then we need something in libdrm. I've just figured for
stuff that only mesa really cares about like the hw contexts here
libdrm wrappers are a bit pointless since it adds a 2nd ABI barrier
with no real gain.
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

More information about the Intel-gfx mailing list