From mboxrd@z Thu Jan 1 00:00:00 1970 From: Damien Lespiau Subject: Re: [PATCH 5/6] drm/i915: Add intel_crtc_wait_for_pending_flips_locked() Date: Wed, 13 Feb 2013 10:37:37 +0000 Message-ID: <20130213103737.GE20865@dyon.amr.corp.intel.com> References: <1359476018-31274-1-git-send-email-ville.syrjala@linux.intel.com> <1359476018-31274-6-git-send-email-ville.syrjala@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTP id B2F89E65FA for ; Wed, 13 Feb 2013 02:37:45 -0800 (PST) Content-Disposition: inline In-Reply-To: <1359476018-31274-6-git-send-email-ville.syrjala@linux.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: ville.syrjala@linux.intel.com Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Tue, Jan 29, 2013 at 06:13:37PM +0200, ville.syrjala@linux.intel.com wro= te: > From: Ville Syrj=E4l=E4 > = > Move the functionality of intel_crtc_wait_for_pending_flips() > into intel_crtc_wait_for_pending_flips_locked(). > = > intel_crtc_wait_for_pending_flips() is now just a wrapper that > grab struct_mutex and calls intel_crtc_wait_for_pending_flips_locked(). > = > This changes the behaviour of intel_crtc_wait_for_pending_flips() > so that it now holds struct_mutex while waiting for pending flips. > = > Signed-off-by: Ville Syrj=E4l=E4 = Reviewed-by: Damien Lespiau -- = Damien