]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Do DMCUB hw_init before DC
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Fri, 10 Jan 2020 14:17:58 +0000 (09:17 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Jan 2020 21:55:27 +0000 (16:55 -0500)
commit986357c24d1fbaf764d9761ac81832dfe840135f
tree7e72a18836d87ece82a4b0f58c107da5b19ca30c
parent5d436262f92dd8499c4ecb8c1c37668e12546479
drm/amd/display: Do DMCUB hw_init before DC

[Why]
For DMCUB enabled hardware DC has a dependency on DMCUB already being
running.

Command table offloading will fail on first modeset if DMCUB isn't
initialized first.

[How]
Perform DMCUB hardware initialization before DC.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Hersen Wu <hersenxs.wu@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c