]> 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)
commitdbd5a3bdf1a998a1de8368e45d4a5aa867c67062
tree4be12c78a84f1d18c92f610d26a3174404f80305
parent9769d4a88f211fd961c713a15444f24c93506d48
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]