[PATCH] drm/amdgpu: replace readq/writeq with atomic64 operations
hch at infradead.org
Wed Aug 7 13:07:59 UTC 2019
On Wed, Aug 07, 2019 at 01:00:48PM +0000, Koenig, Christian wrote:
> 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.
I also had a vague memory that x86-32 did support it with SSE, but
I can't actually find any traces of that support.
More information about the amd-gfx