diff options
author | 2015-07-03 10:02:27 +0900 | |
---|---|---|
committer | 2015-07-16 12:39:37 -0400 | |
commit | 233709d2cd6bbaaeda0aeb8d11f6ca7f98563b39 (patch) | |
tree | 915d744586cc97daa7467f41bcf90c40ed726336 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/radeon: add a dpm quirk for Sapphire Radeon R9 270X 2GB GDDR5 (diff) | |
download | wireguard-linux-233709d2cd6bbaaeda0aeb8d11f6ca7f98563b39.tar.xz wireguard-linux-233709d2cd6bbaaeda0aeb8d11f6ca7f98563b39.zip |
drm/radeon: Don't flush the GART TLB if rdev->gart.ptr == NULL
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>
Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions