From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sylvain BERTRAND Subject: Re: [PATCH 08/10] drm/radeon: replace pflip and sw_int counters with atomics Date: Thu, 24 May 2012 13:59:09 +0200 Message-ID: <20120524115909.GA14376@freedom> References: <1337845754-3718-1-git-send-email-deathsimple@vodafone.de> <1337845754-3718-8-git-send-email-deathsimple@vodafone.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from smtpauth-vit.online.net (smtpauth-vit.online.net [88.190.253.76]) by gabe.freedesktop.org (Postfix) with ESMTP id 332459E74D for ; Thu, 24 May 2012 04:59:12 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1337845754-3718-8-git-send-email-deathsimple@vodafone.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Christian =?iso-8859-1?Q?K=F6nig?= Cc: Christian Koenig , dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org > + atomic_t ring_int[RADEON_NUM_RINGS]; > bool crtc_vblank_int[RADEON_MAX_CRTCS]; > - bool pflip[RADEON_MAX_CRTCS]; > - int pflip_refcount[RADEON_MAX_CRTCS]; > + atomic_t pflip[RADEON_MAX_CRTCS]; Hi, Does the linux API mandates atomic_t to be a 32bits word? Regards, -- Sylvain