]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amdgpu: move the amdgpu_fbdev_set_suspend() further up
authorShirish S <shirish.s@amd.com>
Mon, 23 Jul 2018 09:41:51 +0000 (15:11 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Jul 2018 20:14:54 +0000 (15:14 -0500)
commit5f8181733f6e5f8a4447f844efe4bdab5ed6a30e
tree060882a5d01a70ea60b2ccfef930846aaff987c7
parent456607d816d89a442a3d5ec98b02c8bc950b5228
drm/amdgpu: move the amdgpu_fbdev_set_suspend() further up

This patch moves amdgpu_fbdev_set_suspend() to the beginning
of suspend sequence.

This is to ensure fbcon does not to write to the VRAM
after GPU is powerd down.

Signed-off-by: Shirish S <shirish.s@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c