From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Widawsky Subject: [PATCH 00/10] Semaphores again. Needs shepherd. Date: Wed, 7 May 2014 10:26:56 -0700 Message-ID: <1399483626-7540-1-git-send-email-benjamin.widawsky@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail.bwidawsk.net (bwidawsk.net [166.78.191.112]) by gabe.freedesktop.org (Postfix) with ESMTP id A4A036E383 for ; Wed, 7 May 2014 10:27:18 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Intel GFX Cc: Ben Widawsky List-Id: intel-gfx@lists.freedesktop.org The series is mostly done, but it needs a few last tweaks to make it acceptable for merge. Chris noticed that the series doesn't properly work with the new VCS2 code that Daniel merged a couple of weeks ago. I too noticed this, but was remaining silent in the hopes that we could actually try to make progress. I raised concerns about this during the VCS2 merge on IRC. I only took a quick look, and it seems it's not too bad to implement, but it requires a bit of brain power to make sure it's correct. The series is broken in another way because the new semaphore decoding which Daniel added. Ville posted a fix that looked sane to me, but I haven't a machine to test with. I'd recommend someone try to beat that into shape and test it. The series should be /okay/ without that though. So here are the latest patches that I have. I just don't have enough time before my vacation to get these things done. They've gone through 5 rounds of rebase since the first series was posted on 12/13/13. They get the first thumbs up from Ville on Mar 5 (a couple of minor tweaks were required and could have been easily done by the maintainer). I've fixed everything I am aware. If someone could take over the patches, and get them merged, I think it'd really help in getting this useful feature added to our driver for gen8. * The last two patches aren't needed, but are here for posterity. If nobody has taken this over when I return I will see if I can complete it. Ben Widawsky (10): drm/i915: Make semaphore updates more precise drm/i915: gen specific ring init drm/i915/bdw: implement semaphore signal drm/i915/bdw: implement semaphore wait drm/i915: Implement MI decode for gen8 drm/i915: Extract semaphore error collection drm/i915/bdw: collect semaphore error state drm/i915: semaphore debugfs drm/i915/bdw: poll semaphores DONT_MERGE drm/i915: FORCE_RESTORE for gen8 semaphores drivers/gpu/drm/i915/i915_debugfs.c | 70 +++++++ drivers/gpu/drm/i915/i915_drv.h | 2 + drivers/gpu/drm/i915/i915_gem_context.c | 7 + drivers/gpu/drm/i915/i915_gpu_error.c | 79 ++++++-- drivers/gpu/drm/i915/i915_irq.c | 11 +- drivers/gpu/drm/i915/i915_reg.h | 8 +- drivers/gpu/drm/i915/intel_ringbuffer.c | 342 +++++++++++++++++++++++--------- drivers/gpu/drm/i915/intel_ringbuffer.h | 78 +++++++- 8 files changed, 474 insertions(+), 123 deletions(-) -- 1.9.2