drm/radeon: hard reset r600 and newer GPU when hibernating.
authorJérome Glisse <jglisse@redhat.com>
Fri, 18 Mar 2016 15:58:39 +0000 (16:58 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 May 2016 17:08:54 +0000 (13:08 -0400)
commit274ad65c9d02bdcbee9bae045517864c3521d530
treecaff5a477dbbcdf6360d27bd7772043454ef5724
parent71fe289970430fca85c7c8da5a829e65764e081b
drm/radeon: hard reset r600 and newer GPU when hibernating.

Some GPU block like UVD and VCE require hard reset to be properly
resume if there is no real powerdown of the asic like during various
hibernation step. This patch perform such hard reset.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_device.c
drivers/gpu/drm/radeon/radeon_drv.c