OSDN Git Service

drm/amd/display: Add DCN3.1 DMCUB
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Wed, 2 Jun 2021 15:28:22 +0000 (11:28 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Jun 2021 20:39:18 +0000 (16:39 -0400)
commitb04cb1924cba734f2a3eb7931f8266b3b6c27637
tree7b7be18753643644423d24b1e9a6da008924853f
parent56546ffc08fee516a84cbe2cc7f216302a170bb5
drm/amd/display: Add DCN3.1 DMCUB

DMCU-B (Display Micro-Controller Unit B) is a display microcontroller
used for shared display functionality with BIOS and for advanced
power saving display features.

Extends the command header to include new DCN3.1 functionality.

Adds new interfaces to DC dmub interface as well for z-state support.

Acked-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@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
drivers/gpu/drm/amd/display/dmub/dmub_srv.h
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
drivers/gpu/drm/amd/display/dmub/src/Makefile
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn31.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn31.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c