]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: fix irq ring buffer overflow handling
authorChristian König <christian.koenig@amd.com>
Wed, 23 Jul 2014 07:47:58 +0000 (09:47 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Jul 2014 15:35:36 +0000 (11:35 -0400)
commit53bdc57a4bb7b5a7a09a968427df34bf371344c4
tree3cb74e68e44c75a0d2231bda9ca6634397f3773e
parenta129b03c88feb2ea88f3aeb5a946b579c8c477b7
drm/radeon: fix irq ring buffer overflow handling

We must mask out the overflow bit as well, otherwise
the wptr will never match the rptr again and the interrupt
handler will loop forever.

Signed-off-by: Christian König <christian.koenig@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
drivers/gpu/drm/radeon/cik.c
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/si.c