[PATCH 08/10] drm/radeon: replace pflip and sw_int counters with atomics

Sylvain BERTRAND sylware at legeek.net
Thu May 24 04:59:09 PDT 2012


> +	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


More information about the dri-devel mailing list