diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2015-07-03 10:02:27 +0900 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2015-08-12 16:33:22 +0200 |
commit | 6cb5225f5fb2fcb2978e9650812975619b24e477 (patch) | |
tree | 5d33327cb571c7c52c0dd923d664c2d4605f6acf /fs/ext2/inode.c | |
parent | 6f26afc900c8c346f39e2088cbfea7f5db373928 (diff) | |
download | kernel_samsung_smdk4412-6cb5225f5fb2fcb2978e9650812975619b24e477.zip kernel_samsung_smdk4412-6cb5225f5fb2fcb2978e9650812975619b24e477.tar.gz kernel_samsung_smdk4412-6cb5225f5fb2fcb2978e9650812975619b24e477.tar.bz2 |
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: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'fs/ext2/inode.c')
0 files changed, 0 insertions, 0 deletions