drm/amd/display: Add dc_dmub_srv helpers for in/out DMCUB commands
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Thu, 14 Jan 2021 15:58:42 +0000 (10:58 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Feb 2021 21:43:10 +0000 (16:43 -0500)
commitecdfc5c92f921f2983f73368920ac0d4b0ee425b
tree374d3b72eeb2a0e8c5d58c424dd32aad90d48071
parentefe213e5a57e0cd92fa4f328dc1963d330549982
drm/amd/display: Add dc_dmub_srv helpers for in/out DMCUB commands

[Why]
We added these in DMCUB for runtime feature detection
but we didn't have helpers to call these with DC error
handling/logging.

[How]
Add helpers.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Eric Yang <eric.yang2@amd.com>
Acked-by: Qingqing Zhuo <Qingqing.Zhuo@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.h