[PATCH 08/10] drm/radeon: replace pflip and sw_int counters with atomics
Dave Airlie
airlied at gmail.com
Thu May 24 05:53:18 PDT 2012
On Thu, May 24, 2012 at 1:46 PM, Sylvain BERTRAND <sylware at legeek.net> wrote:
>>> Does the linux API mandates atomic_t to be a 32bits word?
>>
>> AFAIK it is, at least for the platforms we care about.
>> ...
>
> Then, the proper course of action would be to add to the linux API, sized
> atomic operation first, wouldn't it?
>
No, atomic is fine for this, I think only sparc32 had 24-bit atomics,
and if you can get sparc32 + a radeon,
then you can keep both halves.
Dave.
More information about the dri-devel
mailing list