diff options
| author | Michel Dänzer <michel.daenzer@amd.com> | 2015-07-03 10:02:27 +0900 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-08-26 19:30:16 +0200 |
| commit | c7324e40d9015f4b911f4c05d77f3ecb4da538b8 (patch) | |
| tree | abab3176b28a03e55d4be3eca5cb7dfae6efcd40 /include/linux/vmalloc.h | |
| parent | da2d7247e89d1618d74c47fc8b57dcfca5145d6a (diff) | |
drm/radeon: Don't flush the GART TLB if rdev->gart.ptr == NULL
commit 233709d2cd6bbaaeda0aeb8d11f6ca7f98563b39 upstream.
This can be the case when the GPU is powered off, e.g. via vgaswitcheroo
or runpm. When the GPU is powered up again, radeon_gart_table_vram_pin
flushes the TLB after setting rdev->gart.ptr to non-NULL.
Fixes panic on powering off R7xx GPUs.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=61529
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Stefan Guendhoer <stefan@guendhoer.com>
Diffstat (limited to 'include/linux/vmalloc.h')
0 files changed, 0 insertions, 0 deletions
