]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Add the DMUB service
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Fri, 25 Oct 2019 15:28:35 +0000 (11:28 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Nov 2019 20:29:42 +0000 (15:29 -0500)
commit6f55406423bcfad8e497b2959245301f4a4cd233
tree4be12c78a84f1d18c92f610d26a3174404f80305
parent74ee53a4b7daeea1dab025ab0a57e4e362c05d89
drm/amd/display: Add the DMUB service

The DMUB service is the interface to the DMCUB.

It's required to support Renoir features so it will be enabled and
compiled automatically when the Renoir display engine is enabled via
CONFIG_DRM_AMD_DC_DCN2_1.

DMUB code will initially be guarded by CONFIG_DRM_AMD_DC_DMUB and later
switched to CONFIG_DRM_AMD_DC_DCN2_1 with the config option dropped.

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>
15 files changed:
drivers/gpu/drm/amd/display/Kconfig
drivers/gpu/drm/amd/display/Makefile
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dmub/inc/dmub_rb.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dmub/inc/dmub_srv.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dmub/inc/dmub_trace_buffer.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dmub/inc/dmub_types.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dmub/src/Makefile [new file with mode: 0644]
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn20.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn20.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn21.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn21.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dmub/src/dmub_reg.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dmub/src/dmub_reg.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c [new file with mode: 0644]