Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm/amd/amdgpu
Shirish S 4d3b9ae50e drm/amdgpu: lock and unlock console only for amdgpu_fbdev_set_suspend [V5]
[Why]
While the console_lock is held, console output will be buffered, till
its unlocked it wont be emitted, hence its ideal to unlock sooner to enable
debugging/detecting/fixing of any issue in the remaining sequence of events
in resume path.
The concern here is about consoles other than fbcon on the device,
e.g. a serial console

[How]
This patch restructures the console_lock, console_unlock around
amdgpu_fbdev_set_suspend() and moves this new block appropriately.

V2: Kept amdgpu_fbdev_set_suspend after pci_set_power_state
V3: Updated the commit message to clarify the real concern that this patch
    addresses.
V4: code clean-up.
V5: fixed return value

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>
2018-07-20 14:23:33 -05:00
..
2018-06-12 16:19:22 -07:00
2018-07-17 14:18:28 -05:00
2015-06-03 21:03:15 -04:00
2018-07-18 16:18:45 -05:00
2018-07-16 16:11:53 -05:00
2018-06-15 12:20:38 -05:00
2017-10-20 13:28:44 -04:00
2015-06-03 21:03:15 -04:00
2018-02-19 14:18:10 -05:00
2017-09-26 17:01:32 -04:00
2015-06-03 21:03:17 -04:00
2016-08-31 15:21:09 -04:00
2017-12-27 11:34:02 -05:00
2018-02-19 14:18:11 -05:00