[PATCH] drm/amdgpu: replace readq/writeq with atomic64 operations

Koenig, Christian Christian.Koenig at amd.com
Wed Aug 7 13:00:48 UTC 2019


Am 07.08.19 um 14:59 schrieb Mark Brown:
> On Wed, Aug 07, 2019 at 10:55:01AM +0000, Koenig, Christian wrote:
>> Am 07.08.19 um 12:41 schrieb Christoph Hellwig:
>>> writeq/readq are provided whenever the CPU actually supports 64-bit
>>> atomic loads and stores.
>> Is there a config option which we can make the driver depend on?
> 64BIT should do the trick.

That doesn't work because 32bit x86 does support writeq/readq as far as 
I know.

Christian.


More information about the amd-gfx mailing list