]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
nouveau: Fix alignment requirements on src and dst addresses
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Mon, 4 Jun 2012 10:00:31 +0000 (12:00 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 26 Jul 2012 00:28:13 +0000 (10:28 +1000)
commitce806a30470bcd846d148bf39d46de3ad7748228
treeb804660246b0ab0c673364298666b0c158252107
parentac7d181e323a888015e19e2e4d776095a0433787
nouveau: Fix alignment requirements on src and dst addresses

Linear copy works by adding the offset to the buffer address,
which may end up not being 16-byte aligned.

Some tests I've written for prime_pcopy show that the engine
allows this correctly, so the restriction on lowest 4 bits of
address can be lifted safely.

The comments added were by envyas, I think because I used
a newer version.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/nouveau/nva3_copy.fuc
drivers/gpu/drm/nouveau/nva3_copy.fuc.h
drivers/gpu/drm/nouveau/nvc0_copy.fuc.h