]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: use drm_fb helper for console_(un)lock
authorShirish S <shirish.s@amd.com>
Fri, 20 Jul 2018 11:56:50 +0000 (17:26 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 20 Jul 2018 19:24:18 +0000 (14:24 -0500)
commit6e69bfce445189fd3190004466151ade7270fc26
tree4f87fd9befa9f026d5ad9edbf03332646a22272b
parent4d36449195bfd81e1b7d9830a56893e8881a166b
drm/amdgpu: use drm_fb helper for console_(un)lock

This patch removes the usage of console_(un)lock
by replacing drm_fb_helper_set_suspend() to
drm_fb_helper_set_suspend_unlocked() which locks and
unlocks the console instead of locking ourselves.

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
drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c