OSDN Git Service

drm/amd/display: Driverside changes to support PSR in DMCUB
authorWyatt Wood <wyatt.wood@amd.com>
Thu, 12 Dec 2019 02:42:03 +0000 (21:42 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Jan 2020 19:13:23 +0000 (14:13 -0500)
commit4c1a1335dfe0d771908a63950bee67b9b465fd06
tree990c99d838a56e6d4ef8a5f865fea66b14368e8b
parentd9eb70ae610fea5ff41b9849cc541c8d5f0146db
drm/amd/display: Driverside changes to support PSR in DMCUB

[Why]
Moving PSR from DMCU to DMCUB.

[How]
Add driverside PSR changes required to send inbox messages to fw.
These changes are non-functional until the psr structure allocation
is uncommented.

Signed-off-by: Wyatt Wood <wyatt.wood@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c
drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dce/dmub_psr.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c
drivers/gpu/drm/amd/display/dc/inc/core_types.h
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h