[PATCH] drm/radeon: Don't flush the GART TLB if rdev->gart.ptr == NULL

2015-07-03 Thread Alex Deucher
On Thu, Jul 2, 2015 at 9:02 PM, Michel Dänzer wrote: > From: Michel Dänzer > > 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

[PATCH] drm/radeon: Don't flush the GART TLB if rdev->gart.ptr == NULL

2015-07-03 Thread Christian König
On 03.07.2015 03:02, Michel Dänzer wrote: > From: Michel Dänzer > > 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 pow

[PATCH] drm/radeon: Don't flush the GART TLB if rdev->gart.ptr == NULL

2015-07-03 Thread Michel Dänzer
From: Michel Dänzer 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.freedeskto