drm/amd/display: Add DCN2 MPC
authorHarry Wentland <harry.wentland@amd.com>
Fri, 22 Feb 2019 15:49:04 +0000 (10:49 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:34 +0000 (18:59 -0500)
commitf789b0b82bf0aee36ce2bb4270aad617d16c3b6b
tree5a4081f200d486116299c50c8fb375b8d25365c1
parenteb7a74a36c247bfb7cb4249df59b8cedcb0b1fff
drm/amd/display: Add DCN2 MPC

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

HW Blocks:

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

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc_hw_types.h
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_mpc.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_mpc.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h