drm/amd/display: Add DCN3 MPC
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Thu, 21 May 2020 16:38:55 +0000 (12:38 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2020 05:59:14 +0000 (01:59 -0400)
commitb708205f08a28994c1dbafb1eff6f6647a495fbd
treecb11b48ae859ac3e01e0835bd3b71a912de735c4
parent8ea13e52a5c17ba3c9da6c15473c7446b1e85d4b
drm/amd/display: Add DCN3 MPC

Add support to program the DCN3 MPC (Multiple pipe and plane combine)

HW Blocks:

    +--------+
    |  MPC   |
    +--------+
        |
        v
    +-------+
    |  OPP  |
    +-------+
        |
        v
    +--------+
    |  OPTC  |
    +--------+
        |
        v
    +--------+       +--------+
    |  DIO   |       |  DCCG  |
    +--------+       +--------+

Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_mpc.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_mpc.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h