diff options
| author | Shirish S <[email protected]> | 2018-07-18 08:06:26 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-07-20 19:23:33 +0000 |
| commit | 4d3b9ae50ea03d3295fc9b5f5c88f49fcd0e99f9 (patch) | |
| tree | 0bbeaede3393475b54e3a857d1020cbe13fda18c /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | |
| parent | drm/amd/display: Honor pplib stutter mask for all ASICs in DC (diff) | |
| download | kernel-4d3b9ae50ea03d3295fc9b5f5c88f49fcd0e99f9.tar.gz kernel-4d3b9ae50ea03d3295fc9b5f5c88f49fcd0e99f9.zip | |
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 <[email protected]>
Reviewed-by: Michel Dänzer <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions
