drm/amd/display: Add MPC meory shutdown support
authorJake Wang <haonan.wang2@amd.com>
Wed, 13 Oct 2021 18:39:41 +0000 (14:39 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Nov 2021 16:32:34 +0000 (12:32 -0400)
commit9959125a0aab6fe445b9c44573022c056eb1ba8c
tree81ded2451989dec01bc0879a54e12797afbad51e
parent0a068b683c87a85351a06017932fb0d4ec8d6b4b
drm/amd/display: Add MPC meory shutdown support

[Why & How]
The MPC memory clocks should be powered down when not in use.

Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Jake Wang <haonan.wang2@amd.com>
Reviewed-by: Eric Yang <eric.yang2@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/dcn30/dcn30_mpc.c
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hwseq.c
drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h