From: Michel Dänzer Date: Fri, 3 Jul 2015 01:02:27 +0000 (+0900) Subject: drm/radeon: Don't flush the GART TLB if rdev->gart.ptr == NULL X-Git-Tag: omap-for-v4.3/fixes-merge-window~233^2~7^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=233709d2cd6bbaaeda0aeb8d11f6ca7f98563b39;p=pandora-kernel.git 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 Signed-off-by: Michel Dänzer Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org --- Reading git-diff-tree failed