]> 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)
commit4b2e7157c523e8a0e66df5b1a3354be9966fff43
tree00e053db68f5d758baa148b09ae860820eb6853f
parent085e7149ee6906679d3a1d021ba8ad6e4ae1955b
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