projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1ae3cf
)
drm/amd/amdgpu: fix console deadlock if late init failed
author
Jim Qu
<Jim.Qu@amd.com>
Wed, 1 Mar 2017 07:53:29 +0000
(15:53 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 8 Mar 2017 22:21:59 +0000
(17:21 -0500)
Signed-off-by: Jim Qu <Jim.Qu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index 6abb238b25c97e8acc9f76887fa4b042e6025c1c..4120b351a8e5cc856492ad628f4d0567614dfe57 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@
-2094,8
+2094,11
@@
int amdgpu_device_resume(struct drm_device *dev, bool resume, bool fbcon)
}
r = amdgpu_late_init(adev);
- if (r)
+ if (r) {
+ if (fbcon)
+ console_unlock();
return r;
+ }
/* pin cursors */
list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {