]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Register DMUB service with DC
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Mon, 28 Oct 2019 13:07:30 +0000 (09:07 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Nov 2019 20:29:42 +0000 (15:29 -0500)
commita62c5e9119458d3738813a0264cc17a297f772ae
tree79ff2b9d858a938d48078a73ab672a4d0875b894
parent9249ff995308aab727e4dac3a69020ca2bc8ddb4
drm/amd/display: Register DMUB service with DC

[Why]
DC can utilize the DMUB server to send commands to the DMUB but it's
the DM responsibility to pass it the service to use.

[How]
Create the dc_dmub_srv after we finish initializing the dmub_srv.
Cleanup the dc_dmub_srv before destroying the dmub_srv or dc.

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