]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/fifo/gk104: kick channels when deactivating them
authorAlexandre Courbot <acourbot@nvidia.com>
Thu, 16 Apr 2015 02:33:32 +0000 (11:33 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 27 Jul 2015 08:56:08 +0000 (18:56 +1000)
commitb4c5546c56fbad93631d48c36cd5a00264aa92f5
tree00e053db68f5d758baa148b09ae860820eb6853f
parent902035b6c47cb0fa956900e9a6af2b1b6e4f80af
drm/nouveau/fifo/gk104: kick channels when deactivating them

Kicking channels is part of their deactivation process. Maxwell chips
are particularly sensitive to this, and can start fetching the previous
pushbuffer of a recycled channel if this is not done.

While we are at it, improve the channel preemption code to only wait for
bit 20 of 0x002634 to turn to 0, as it is the bit indicating a
preempt is pending.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c