From: akash.goel@intel.com Subject: [RFC 0/2] Reduce the time for which 'struct_mutex' is held Date: Sun, 4 May 2014 16:48:23 +0530 Message-ID: <1399202305-5765-1-git-send-email-akash.goel@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id D95786E4D5 for ; Sun, 4 May 2014 04:15:27 -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@lists.freedesktop.org Cc: sourab.gupta@intel.com, Akash Goel List-Id: intel-gfx@lists.freedesktop.org From: Akash Goel We are trying to reduce the time for which the global 'struct_mutex' is locked. Execbuffer ioctl is one place where it is generally held for the longest time. And sometimes because of this occasional glitches/flickers are being observed in 60 fps playback (due to miss of V-blank intervals) as page flip call is getting delayed because the 'struct_mutex' is already locked. Akash Goel (2): drm/i915: Pre-allocation of shmem pages of a GEM object drm/i915: Moved the cache flush outside the 'struct_mutex' lock drivers/gpu/drm/i915/i915_debugfs.c | 9 +++- drivers/gpu/drm/i915/i915_dma.c | 1 + drivers/gpu/drm/i915/i915_drv.h | 5 ++ drivers/gpu/drm/i915/i915_gem.c | 86 ++++++++++++++++++++++++++++++ drivers/gpu/drm/i915/i915_gem_execbuffer.c | 84 +++++++++++++++++++++++++---- drivers/gpu/drm/i915/i915_trace.h | 35 ++++++++++++ 6 files changed, 208 insertions(+), 12 deletions(-) -- 1.9.2